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.0008263/0.0008263, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.003268/0.003268, allocations: 162.9 kB / 24.69 MB, free: 9.406 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.856/0.856, allocations: 158.6 MB / 186.5 MB, free: 3.051 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.174e-06/2.174e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.399e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003486/0.00351, allocations: 2.789 MB / 301.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1473/0.1508, allocations: 1.13 MB / 302.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.151, allocations: 9.75 kB / 302.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.1515, allocations: 165.6 kB / 302.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.1521, allocations: 194.4 kB / 302.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.1525, allocations: 150.8 kB / 302.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000502/0.153, allocations: 458.5 kB / 303.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.1532, allocations: 69.89 kB / 303.4 MB, free: 13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.1535, allocations: 258.3 kB / 303.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.1537, allocations: 153.1 kB / 303.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.1538, allocations: 29.25 kB / 303.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.1539, allocations: 71.2 kB / 303.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.437e-05/0.154, allocations: 85.25 kB / 303.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1541, allocations: 121.5 kB / 304.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.1547, allocations: 469.7 kB / 304.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1547, allocations: 0.5625 kB / 304.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1547, allocations: 5.781 kB / 304.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1547, allocations: 1.875 kB / 304.5 MB, free: 12.87 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.0009111/0.1556, allocations: 0.6173 MB / 305.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1557, allocations: 13.05 kB / 305.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.1558, allocations: 70.23 kB / 305.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.1559, allocations: 52.12 kB / 305.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.1563, allocations: 265.4 kB / 305.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.1563, allocations: 22.47 kB / 305.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.1563, allocations: 28.8 kB / 305.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.1568, allocations: 0.5291 MB / 306.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.1568, allocations: 6.062 kB / 306.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.1568, allocations: 19.28 kB / 306.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1568, allocations: 6.906 kB / 306.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.1571, allocations: 184.9 kB / 306.3 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.1582, allocations: 0.7653 MB / 307.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.1586, allocations: 247.9 kB / 307.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1587, allocations: 92.45 kB / 307.4 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.1588, allocations: 5.172 kB / 307.4 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.159, allocations: 275.6 kB / 307.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 2.424e-06/0.159, allocations: 5.25 kB / 307.7 MB, free: 10.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001807/0.1608, allocations: 1.113 MB / 308.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.1609, allocations: 185.9 kB / 309 MB, free: 9.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.1613, allocations: 358.2 kB / 309.4 MB, free: 9.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1613, allocations: 36.23 kB / 309.4 MB, free: 9.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1614, allocations: 196.5 kB / 309.6 MB, free: 9.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.1615, allocations: 141.4 kB / 309.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.1616, allocations: 74.55 kB / 309.8 MB, free: 9.387 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.52e-05/0.1616, allocations: 348.6 kB / 310.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1618, allocations: 89.81 kB / 310.2 MB, free: 9.027 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.162, allocations: 313.1 kB / 310.5 MB, free: 8.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.1623, allocations: 251.6 kB / 310.8 MB, free: 8.605 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1623, allocations: 3.938 kB / 310.8 MB, free: 8.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004315/0.1627, allocations: 357.1 kB / 311.1 MB, free: 8.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1627, allocations: 9.531 kB / 311.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1627, allocations: 1.094 kB / 311.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.501e-05/0.1628, allocations: 20.86 kB / 311.2 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.163, allocations: 92.62 kB / 311.2 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006392/0.1637, allocations: 1.287 MB / 312.5 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.1638, allocations: 10.72 kB / 312.5 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.1638, allocations: 15.31 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.0001677/0.164, allocations: 166.5 kB / 312.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.1641, allocations: 44.56 kB / 312.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.1645, allocations: 350.2 kB / 313.1 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1645, allocations: 9.062 kB / 313.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1645, allocations: 3.938 kB / 313.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003325/0.1648, allocations: 0.6609 MB / 313.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008581/0.1657, allocations: 0.7969 MB / 314.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1657, allocations: 2.125 kB / 314.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.1659, allocations: 78.25 kB / 314.7 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.1659, allocations: 3.438 kB / 314.7 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.1659, allocations: 13.36 kB / 314.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1659, allocations: 2.016 kB / 314.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1659, allocations: 3.125 kB / 314.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.1665, allocations: 0.5643 MB / 315.2 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1666, allocations: 61.11 kB / 315.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.1666, allocations: 10.12 kB / 315.3 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1667, allocations: 18.81 kB / 315.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.1668, allocations: 22.77 kB / 315.4 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.1668, allocations: 15.19 kB / 315.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002018/0.167, allocations: 262.1 kB / 315.6 MB, free: 5.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.167, allocations: 0 / 315.6 MB, free: 5.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003241/0.1673, allocations: 100.3 kB / 315.7 MB, free: 5.109 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.001311/0.1686, allocations: 1.453 MB / 317.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.1692, allocations: 359.5 kB / 317.5 MB, free: 3.797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1692, allocations: 5.781 kB / 317.5 MB, free: 3.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1693, allocations: 129.8 kB / 317.7 MB, free: 3.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.1698, allocations: 103.9 kB / 317.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.1735, allocations: 3.579 MB / 321.3 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.1738, allocations: 207.9 kB / 321.5 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000194/0.174, allocations: 46.03 kB / 321.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.1741, allocations: 136.5 kB / 321.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of SimCode: time 1.363e-06/0.1741, allocations: 1.219 kB / 321.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.2025, allocations: 10.6 MB / 332.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.32, allocations: 0 / 332.3 MB, free: 11.41 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable cylinder1.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder1.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder2.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder2.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.s_rel in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.s_rel from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.v_rel in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.v_rel from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.054051949642599]