Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009012/0.0009012, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9445/0.9445, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.486e-05, allocations: 6.219 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006428/0.006453, allocations: 5.359 MB / 329.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.009501, allocations: 1.662 MB / 331.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/0.01023, allocations: 59.62 kB / 331.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.01081, allocations: 321.4 kB / 332 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.012, allocations: 401 kB / 332.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.01261, allocations: 359.4 kB / 332.7 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.01434, allocations: 2.09 MB / 334.8 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.01588, allocations: 1.544 MB / 336.3 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.01743, allocations: 1.595 MB / 337.9 MB, free: 2.438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.01845, allocations: 1.017 MB / 338.9 MB, free: 1.418 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.01868, allocations: 308 kB / 339.2 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.01917, allocations: 455.6 kB / 339.7 MB, free: 0.668 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.01956, allocations: 0.7518 MB / 340.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006298/0.02019, allocations: 0.8693 MB / 341.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.02273, allocations: 3.856 MB / 345.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.02274, allocations: 0 / 345.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.02274, allocations: 4 kB / 345.2 MB, free: 11.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.449e-05/0.02281, allocations: 0 / 345.2 MB, free: 11.17 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.003733/0.02655, allocations: 2.43 MB / 347.6 MB, free: 8.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.0266, allocations: 8.031 kB / 347.6 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002884/0.02689, allocations: 324.9 kB / 347.9 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005291/0.02742, allocations: 283.4 kB / 348.2 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.02892, allocations: 1.273 MB / 349.5 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-05/0.02902, allocations: 168.9 kB / 349.6 MB, free: 6.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.02921, allocations: 216.4 kB / 349.9 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/0.03214, allocations: 2.617 MB / 352.5 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.03216, allocations: 0 / 352.5 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.03228, allocations: 92 kB / 352.6 MB, free: 3.617 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.03233, allocations: 56 kB / 352.6 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.03465, allocations: 2.145 MB / 354.8 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007162/0.04181, allocations: 6.723 MB / 361.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.0425, allocations: 0.7005 MB / 362.2 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.04314, allocations: 0.5911 MB / 362.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.04317, allocations: 8.5 kB / 362.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.04344, allocations: 39.06 kB / 362.8 MB, free: 9.109 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 2.795e-06/0.04345, allocations: 0 / 362.8 MB, free: 9.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002654/0.0461, allocations: 2.379 MB / 365.2 MB, free: 6.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.04614, allocations: 60 kB / 365.3 MB, free: 6.617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007162/0.04685, allocations: 0.8167 MB / 366.1 MB, free: 5.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.04688, allocations: 33.7 kB / 366.1 MB, free: 5.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.04728, allocations: 0.948 MB / 367.1 MB, free: 4.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.04739, allocations: 238 kB / 367.3 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.04753, allocations: 142.6 kB / 367.4 MB, free: 4.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.04765, allocations: 394.8 kB / 367.8 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.04801, allocations: 361.7 kB / 368.2 MB, free: 3.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.04845, allocations: 0.5751 MB / 368.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008272/0.04928, allocations: 0.9951 MB / 369.7 MB, free: 1.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.04928, allocations: 3.938 kB / 369.7 MB, free: 1.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001334/0.05062, allocations: 1.158 MB / 370.9 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.05063, allocations: 8 kB / 370.9 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.05064, allocations: 11.98 kB / 370.9 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.05085, allocations: 108.7 kB / 371 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.0512, allocations: 175.7 kB / 371.2 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.05264, allocations: 2.203 MB / 373.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.05292, allocations: 39.97 kB / 373.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.05296, allocations: 28 kB / 373.5 MB, free: 14.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006996/0.05366, allocations: 0.6535 MB / 374.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.05377, allocations: 91.42 kB / 374.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.05388, allocations: 99.75 kB / 374.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.0539, allocations: 12.12 kB / 374.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.05391, allocations: 4 kB / 374.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.05392, allocations: 7.922 kB / 374.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.05697, allocations: 2.536 MB / 376.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.05698, allocations: 0 / 376.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/0.05772, allocations: 103.9 kB / 377 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001751/0.05789, allocations: 100.9 kB / 377.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.05792, allocations: 12 kB / 377.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.0593, allocations: 2.156 MB / 379.2 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.0593, allocations: 0 / 379.2 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.06063, allocations: 1.419 MB / 380.7 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.06086, allocations: 155.5 kB / 380.8 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.06091, allocations: 12 kB / 380.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.06112, allocations: 44.02 kB / 380.9 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.06121, allocations: 56.28 kB / 380.9 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.06124, allocations: 19.98 kB / 380.9 MB, free: 6.336 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004823/0.06172, allocations: 0.5615 MB / 381.5 MB, free: 5.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06172, allocations: 3.938 kB / 381.5 MB, free: 5.777 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000748/0.06247, allocations: 303.9 kB / 381.8 MB, free: 5.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/0.06413, allocations: 1.998 MB / 383.8 MB, free: 3.438 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.06544, allocations: 0.9714 MB / 384.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.06544, allocations: 0 / 384.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000502/0.06594, allocations: 0.5378 MB / 385.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.06658, allocations: 219 kB / 385.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009725/0.07631, allocations: 10.2 MB / 395.7 MB, free: 7.129 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.07711, allocations: 1.148 MB / 396.9 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003533/0.07747, allocations: 199.1 kB / 397.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/0.07797, allocations: 0.6487 MB / 397.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.07797, allocations: 3.938 kB / 397.7 MB, free: 5.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.1223, allocations: 26.03 MB / 423.7 MB, free: 11.35 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/7.434, allocations: 10.86 kB / 423.8 MB, free: 11.34 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.270346294157207]