Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.0008888/0.0008888, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.00482/0.00482, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8917/0.8917, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.336e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004623/0.004646, allocations: 2.793 MB / 301.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1452/0.1499, allocations: 1.133 MB / 302.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.15, allocations: 10.66 kB / 302.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.1505, allocations: 164.4 kB / 302.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.1509, allocations: 192.2 kB / 302.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.1512, allocations: 152.6 kB / 302.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.1517, allocations: 454.8 kB / 303.3 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1518, allocations: 69.28 kB / 303.4 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.1521, allocations: 256.9 kB / 303.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1523, allocations: 156 kB / 303.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.634e-05/0.1524, allocations: 29.06 kB / 303.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1525, allocations: 68.44 kB / 303.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.1526, allocations: 85.41 kB / 304 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1528, allocations: 124.6 kB / 304.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.1532, allocations: 470.8 kB / 304.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1532, allocations: 0.7969 kB / 304.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1532, allocations: 1.156 kB / 304.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1532, allocations: 1.312 kB / 304.5 MB, free: 12.85 MB / 282.7 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.0006891/0.1539, allocations: 0.6203 MB / 305.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.154, allocations: 13.61 kB / 305.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.092e-05/0.1541, allocations: 72.77 kB / 305.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.1541, allocations: 47.09 kB / 305.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.1545, allocations: 263.6 kB / 305.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1545, allocations: 25.59 kB / 305.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.1546, allocations: 26.97 kB / 305.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.155, allocations: 0.5303 MB / 306.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.155, allocations: 5.047 kB / 306.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.155, allocations: 16.8 kB / 306.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.155, allocations: 9.812 kB / 306.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.1553, allocations: 184.6 kB / 306.3 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009942/0.1563, allocations: 0.7697 MB / 307.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.1567, allocations: 246.8 kB / 307.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1568, allocations: 92.28 kB / 307.4 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1568, allocations: 7.469 kB / 307.4 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.1571, allocations: 273.2 kB / 307.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.1571, allocations: 0 / 307.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001584/0.1587, allocations: 1.114 MB / 308.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1587, allocations: 189.4 kB / 309 MB, free: 9.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.159, allocations: 358.3 kB / 309.4 MB, free: 9.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.159, allocations: 32.39 kB / 309.4 MB, free: 9.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.1591, allocations: 194 kB / 309.6 MB, free: 9.547 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.1591, allocations: 146 kB / 309.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.1592, allocations: 72.91 kB / 309.8 MB, free: 9.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.1593, allocations: 353.3 kB / 310.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1594, allocations: 91.28 kB / 310.2 MB, free: 9.027 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1595, allocations: 311.9 kB / 310.5 MB, free: 8.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.1598, allocations: 252.4 kB / 310.8 MB, free: 8.605 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1598, allocations: 0 / 310.8 MB, free: 8.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000377/0.1602, allocations: 358.5 kB / 311.1 MB, free: 8.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1602, allocations: 10.56 kB / 311.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1602, allocations: 2.5 kB / 311.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.883e-05/0.1603, allocations: 23.5 kB / 311.2 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.1605, allocations: 89.08 kB / 311.3 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005992/0.1611, allocations: 1.279 MB / 312.5 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.1612, allocations: 17.31 kB / 312.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.872e-05/0.1613, allocations: 14.7 kB / 312.6 MB, free: 7.117 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.1614, allocations: 167.9 kB / 312.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.1614, allocations: 41.16 kB / 312.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.1619, allocations: 348 kB / 313.1 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.1619, allocations: 6.172 kB / 313.1 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1619, allocations: 3.938 kB / 313.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003751/0.1623, allocations: 0.6569 MB / 313.8 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008289/0.1631, allocations: 0.8049 MB / 314.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1631, allocations: 1.703 kB / 314.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.1633, allocations: 77.86 kB / 314.7 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1633, allocations: 4.031 kB / 314.7 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1634, allocations: 8 kB / 314.7 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1634, allocations: 3.703 kB / 314.7 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1634, allocations: 1.188 kB / 314.7 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.1645, allocations: 0.5711 MB / 315.2 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.1646, allocations: 61.03 kB / 315.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.1646, allocations: 10.67 kB / 315.3 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.1648, allocations: 18.44 kB / 315.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.1649, allocations: 28.31 kB / 315.4 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.1649, allocations: 14.66 kB / 315.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002185/0.1651, allocations: 257.7 kB / 315.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1651, allocations: 0 / 315.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.1655, allocations: 101 kB / 315.7 MB, free: 5.113 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001354/0.1668, allocations: 1.443 MB / 317.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005185/0.1673, allocations: 368.7 kB / 317.5 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1673, allocations: 1.031 kB / 317.5 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.1675, allocations: 131.5 kB / 317.7 MB, free: 3.758 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1679, allocations: 107 kB / 317.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.1713, allocations: 3.581 MB / 321.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.1715, allocations: 204.1 kB / 321.5 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.1717, allocations: 44.78 kB / 321.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1718, allocations: 138.2 kB / 321.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of SimCode: time 9.81e-07/0.1718, allocations: 0 / 321.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.1961, allocations: 10.6 MB / 332.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/7.923, allocations: 4.062 kB / 332.3 MB, free: 11.42 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.582835586741567]