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.001615/0.001615, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001768/0.001768, allocations: 214.8 kB / 23.77 MB, free: 4.551 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.567/1.567, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.2551/0.2551, allocations: 44.26 MB / 331.1 MB, free: 9.332 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.003448/0.003448, allocations: 69.62 kB / 468.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1499, allocations: 61.05 MB / 0.5169 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00437/0.1542, allocations: 2.252 MB / 0.5191 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1557, allocations: 0.7759 MB / 0.5199 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1559, allocations: 8 kB / 0.5199 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.1561, allocations: 59.5 kB / 0.5199 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1564, allocations: 91.31 kB / 0.52 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.1568, allocations: 99.81 kB / 0.5201 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.1572, allocations: 350.8 kB / 0.5204 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.1574, allocations: 68.84 kB / 0.5205 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.1577, allocations: 143.5 kB / 0.5206 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1579, allocations: 151.3 kB / 0.5208 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.12e-05/0.1579, allocations: 32 kB / 0.5208 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.214e-05/0.158, allocations: 28 kB / 0.5208 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.1581, allocations: 67.75 kB / 0.5209 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1582, allocations: 123.4 kB / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.1587, allocations: 358.5 kB / 0.5214 GB, free: 2.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1587, allocations: 0 / 0.5214 GB, free: 2.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1587, allocations: 0 / 0.5214 GB, free: 2.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1587, allocations: 4 kB / 0.5214 GB, free: 2.605 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.001162/0.1599, allocations: 0.548 MB / 0.5219 GB, free: 2.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1599, allocations: 8.031 kB / 0.5219 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.106e-05/0.1599, allocations: 8.688 kB / 0.5219 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.154e-05/0.16, allocations: 62.72 kB / 0.522 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.1601, allocations: 36.73 kB / 0.522 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.1605, allocations: 205.9 kB / 0.5222 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1605, allocations: 12.88 kB / 0.5222 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.1605, allocations: 24.38 kB / 0.5223 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005682/0.1611, allocations: 252 kB / 0.5225 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1611, allocations: 0 / 0.5225 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.1611, allocations: 8 kB / 0.5225 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1612, allocations: 8 kB / 0.5225 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.1617, allocations: 237.8 kB / 0.5227 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.1632, allocations: 0.773 MB / 0.5235 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.1637, allocations: 278.7 kB / 0.5238 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.164, allocations: 124.8 kB / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.1641, allocations: 4 kB / 0.5239 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.1641, allocations: 46.5 kB / 0.5239 GB, free: 15.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.1641, allocations: 0 / 0.5239 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004735/0.1688, allocations: 0.9528 MB / 0.5249 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.1689, allocations: 55.41 kB / 0.5249 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.1692, allocations: 217.5 kB / 0.5251 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.1692, allocations: 29.7 kB / 0.5251 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.1694, allocations: 168.6 kB / 0.5253 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1695, allocations: 111.1 kB / 0.5254 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1696, allocations: 53.56 kB / 0.5255 GB, free: 14.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1698, allocations: 334.8 kB / 0.5258 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.17, allocations: 99.95 kB / 0.5259 GB, free: 13.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.1703, allocations: 121.8 kB / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.1708, allocations: 223.3 kB / 0.5262 GB, free: 13.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1708, allocations: 0 / 0.5262 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001907/0.1727, allocations: 0.5364 MB / 0.5267 GB, free: 12.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1727, allocations: 8 kB / 0.5267 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1727, allocations: 0 / 0.5267 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/0.1745, allocations: 315.1 kB / 0.527 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.1747, allocations: 31.91 kB / 0.5271 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008368/0.183, allocations: 6.364 MB / 0.5333 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.1833, allocations: 31.8 kB / 0.5333 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.1833, allocations: 12 kB / 0.5333 GB, free: 5.648 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.0002338/0.1835, allocations: 145.8 kB / 0.5335 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.1836, allocations: 27.8 kB / 0.5335 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.1855, allocations: 0.5423 MB / 0.534 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.1855, allocations: 7.938 kB / 0.534 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1855, allocations: 0 / 0.534 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1855, allocations: 4 kB / 0.534 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.186, allocations: 292.7 kB / 0.5343 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.186, allocations: 4 kB / 0.5343 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.1861, allocations: 19.97 kB / 0.5343 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.1877, allocations: 311.2 kB / 0.5346 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.1877, allocations: 4 kB / 0.5346 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2527/0.4405, allocations: 6.42 MB / 0.5409 GB, free: 25.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4405, allocations: 8.531 kB / 0.5409 GB, free: 25.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.4425, allocations: 0.6098 MB / 0.5415 GB, free: 25.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.4426, allocations: 25.31 kB / 0.5415 GB, free: 25.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.4426, allocations: 6.203 kB / 0.5415 GB, free: 25.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.4428, allocations: 14.17 kB / 0.5416 GB, free: 25.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.443, allocations: 36.08 kB / 0.5416 GB, free: 25.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.443, allocations: 9.062 kB / 0.5416 GB, free: 25.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.4432, allocations: 161.6 kB / 0.5417 GB, free: 25.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4432, allocations: 1.188 kB / 0.5417 GB, free: 25.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007039/0.444, allocations: 117.2 kB / 0.5419 GB, free: 25.68 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.002248/0.4462, allocations: 1.155 MB / 0.543 GB, free: 24.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.4474, allocations: 0.7479 MB / 0.5437 GB, free: 24.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4474, allocations: 0 / 0.5437 GB, free: 24.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.4487, allocations: 0.7223 MB / 0.5444 GB, free: 24.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.4491, allocations: 28.33 kB / 0.5445 GB, free: 24.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006641/0.4557, allocations: 3.085 MB / 0.5475 GB, free: 22.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.456, allocations: 166.5 kB / 0.5476 GB, free: 22.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.783e-05/0.456, allocations: 11.28 kB / 0.5476 GB, free: 22.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.4562, allocations: 76.27 kB / 0.5477 GB, free: 22.42 MB / 414.1 MB Notification: Performance of SimCode: time 1.744e-06/0.4562, allocations: 2.25 kB / 0.5477 GB, free: 22.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04646/0.5026, allocations: 11.3 MB / 0.5587 GB, free: 20.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.3, allocations: 3.656 kB / 0.5587 GB, free: 20.29 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.5382368999999]