Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.001775/0.001775, allocations: 112.9 kB / 20.48 MB, free: 1.477 MB / 14.72 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.002193/0.002193, allocations: 215.7 kB / 23.79 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 207.6 MB / 234.6 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.244/0.244, allocations: 44.24 MB / 331.1 MB, free: 9.508 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00309/0.00309, allocations: 74.55 kB / 468.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1505, allocations: 61.03 MB / 0.5169 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004244/0.1548, allocations: 2.427 MB / 0.5193 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1568, allocations: 0.8226 MB / 0.5201 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.157, allocations: 4 kB / 0.5201 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.1573, allocations: 55.5 kB / 0.5201 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.1577, allocations: 103.2 kB / 0.5202 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.1581, allocations: 103.8 kB / 0.5203 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005319/0.1587, allocations: 346.8 kB / 0.5207 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.1589, allocations: 68.83 kB / 0.5207 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.1593, allocations: 139.5 kB / 0.5209 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.1595, allocations: 155.3 kB / 0.521 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.1596, allocations: 31.98 kB / 0.521 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.1596, allocations: 32 kB / 0.5211 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.1597, allocations: 67.77 kB / 0.5211 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.16, allocations: 155.2 kB / 0.5213 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.1605, allocations: 358.5 kB / 0.5216 GB, free: 2.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.998e-06/0.1605, allocations: 0 / 0.5216 GB, free: 2.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1605, allocations: 0 / 0.5216 GB, free: 2.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.1605, allocations: 0 / 0.5216 GB, free: 2.469 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001261/0.1618, allocations: 0.5402 MB / 0.5221 GB, free: 1.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.1619, allocations: 8.031 kB / 0.5222 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.055e-05/0.1619, allocations: 12.67 kB / 0.5222 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.782e-05/0.162, allocations: 70.67 kB / 0.5222 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.162, allocations: 32.75 kB / 0.5223 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.1625, allocations: 202 kB / 0.5225 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.1625, allocations: 20.88 kB / 0.5225 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.1626, allocations: 24.38 kB / 0.5225 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.1631, allocations: 244 kB / 0.5227 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1631, allocations: 3.938 kB / 0.5227 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.1631, allocations: 16 kB / 0.5228 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1632, allocations: 4 kB / 0.5228 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005224/0.1637, allocations: 229.9 kB / 0.523 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.1652, allocations: 0.8275 MB / 0.5238 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.1658, allocations: 278.7 kB / 0.5241 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.1661, allocations: 124.8 kB / 0.5242 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.1661, allocations: 4 kB / 0.5242 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.1662, allocations: 50.5 kB / 0.5242 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.1662, allocations: 0 / 0.5242 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004463/0.1706, allocations: 0.9489 MB / 0.5251 GB, free: 14.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.1707, allocations: 63.34 kB / 0.5252 GB, free: 14.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1709, allocations: 213.5 kB / 0.5254 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.171, allocations: 33.7 kB / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.1711, allocations: 164.7 kB / 0.5256 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1712, allocations: 103.1 kB / 0.5257 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.1713, allocations: 57.55 kB / 0.5258 GB, free: 14.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1715, allocations: 334.8 kB / 0.5261 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.1717, allocations: 91.95 kB / 0.5262 GB, free: 13.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.172, allocations: 125.8 kB / 0.5263 GB, free: 13.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.1724, allocations: 223.4 kB / 0.5265 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1724, allocations: 0 / 0.5265 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001837/0.1743, allocations: 0.548 MB / 0.527 GB, free: 12.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1743, allocations: 8 kB / 0.527 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1743, allocations: 3.938 kB / 0.527 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.176, allocations: 311.1 kB / 0.5273 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.1761, allocations: 23.98 kB / 0.5274 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008112/0.1843, allocations: 6.415 MB / 0.5336 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.1845, allocations: 31.8 kB / 0.5337 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.1846, allocations: 12 kB / 0.5337 GB, free: 5.406 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.1848, allocations: 149.8 kB / 0.5338 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.1848, allocations: 23.86 kB / 0.5338 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.1866, allocations: 0.5384 MB / 0.5344 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1866, allocations: 7.938 kB / 0.5344 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.1866, allocations: 0 / 0.5344 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.1866, allocations: 3.984 kB / 0.5344 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.1872, allocations: 332.3 kB / 0.5347 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.1872, allocations: 3.984 kB / 0.5347 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.1873, allocations: 15.98 kB / 0.5347 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.1889, allocations: 315.3 kB / 0.535 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.1889, allocations: 8 kB / 0.535 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.263/0.4519, allocations: 6.483 MB / 0.5413 GB, free: 25.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4519, allocations: 0 / 0.5413 GB, free: 25.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.4537, allocations: 0.6107 MB / 0.5419 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.4538, allocations: 29.28 kB / 0.542 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.4538, allocations: 6.312 kB / 0.542 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.454, allocations: 16.02 kB / 0.542 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.4542, allocations: 34.39 kB / 0.542 GB, free: 25.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.4542, allocations: 8.844 kB / 0.542 GB, free: 25.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.4544, allocations: 160.5 kB / 0.5422 GB, free: 25.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4544, allocations: 0 / 0.5422 GB, free: 25.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006483/0.455, allocations: 115.8 kB / 0.5423 GB, free: 25.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00206/0.4571, allocations: 1.154 MB / 0.5434 GB, free: 24.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.4583, allocations: 0.7438 MB / 0.5442 GB, free: 24.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.4583, allocations: 4.781 kB / 0.5442 GB, free: 24.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.4596, allocations: 0.7217 MB / 0.5449 GB, free: 23.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.46, allocations: 28.44 kB / 0.5449 GB, free: 23.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005959/0.466, allocations: 3.09 MB / 0.5479 GB, free: 22.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.4663, allocations: 0.77 MB / 0.5487 GB, free: 21.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.873e-05/0.4664, allocations: 13.05 kB / 0.5487 GB, free: 21.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.4665, allocations: 76.59 kB / 0.5487 GB, free: 21.46 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4665, allocations: 0 / 0.5487 GB, free: 21.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06021/0.5267, allocations: 11.22 MB / 0.5597 GB, free: 19.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.12, allocations: 6.219 kB / 0.5597 GB, free: 19.3 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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: 17.34980581299169]