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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 104.8 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 47.92 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1197, allocations: 46.61 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004699/0.1244, allocations: 3.04 MB / 329.6 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1265, allocations: 1.178 MB / 330.8 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1267, allocations: 7.938 kB / 330.8 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005484/0.1273, allocations: 147.4 kB / 331 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.1277, allocations: 159.1 kB / 331.1 MB, free: 356 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.1281, allocations: 131.7 kB / 331.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.1287, allocations: 414.2 kB / 331.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.1289, allocations: 94.69 kB / 331.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.1292, allocations: 167.3 kB / 331.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.1294, allocations: 191.1 kB / 332.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.1295, allocations: 20 kB / 332.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.1297, allocations: 63.97 kB / 332.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.1298, allocations: 71.69 kB / 332.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.1301, allocations: 182.9 kB / 332.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.1306, allocations: 434.8 kB / 332.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1306, allocations: 0 / 332.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1306, allocations: 0 / 332.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1306, allocations: 0 / 332.8 MB, free: 14.62 MB / 286.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.001209/0.1318, allocations: 0.6984 MB / 333.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1319, allocations: 8.031 kB / 333.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.948e-05/0.132, allocations: 52.45 kB / 333.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.1324, allocations: 308.6 kB / 333.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.1325, allocations: 16.94 kB / 333.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.1325, allocations: 40.02 kB / 334 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.1331, allocations: 291.1 kB / 334.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.1331, allocations: 3.984 kB / 334.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.1332, allocations: 15.98 kB / 334.3 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1332, allocations: 8 kB / 334.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.1335, allocations: 170.2 kB / 334.4 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.1349, allocations: 0.856 MB / 335.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.1356, allocations: 263.3 kB / 335.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.1358, allocations: 101.4 kB / 335.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.1358, allocations: 8.281 kB / 335.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/0.1363, allocations: 168.8 kB / 335.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 3.176e-06/0.1363, allocations: 0 / 335.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002547/0.1388, allocations: 1.315 MB / 337.1 MB, free: 10.01 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002182/0.1391, allocations: 187.9 kB / 337.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.1395, allocations: 348.5 kB / 337.7 MB, free: 9.434 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/0.1396, allocations: 33.7 kB / 337.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1398, allocations: 192.5 kB / 337.9 MB, free: 9.203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.1399, allocations: 138 kB / 338 MB, free: 9.066 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1401, allocations: 82.03 kB / 338.1 MB, free: 8.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1402, allocations: 346.8 kB / 338.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.1404, allocations: 92.77 kB / 338.5 MB, free: 8.543 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.1407, allocations: 181.3 kB / 338.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.1412, allocations: 246.2 kB / 338.9 MB, free: 8.074 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1412, allocations: 0 / 338.9 MB, free: 8.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005921/0.1418, allocations: 358.3 kB / 339.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.1418, allocations: 8 kB / 339.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1418, allocations: 0 / 339.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.1419, allocations: 28.78 kB / 339.3 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.1423, allocations: 83.91 kB / 339.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.1436, allocations: 1.289 MB / 340.7 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.1438, allocations: 19.97 kB / 340.7 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.1439, allocations: 16.05 kB / 340.7 MB, free: 6.141 MB / 286.1 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.0002337/0.1441, allocations: 173.7 kB / 340.9 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.1442, allocations: 43.66 kB / 340.9 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/0.1443, allocations: 43.94 kB / 341 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1443, allocations: 4 kB / 341 MB, free: 5.863 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1443, allocations: 4 kB / 341 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007093/0.145, allocations: 0.6608 MB / 341.7 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.1464, allocations: 0.8407 MB / 342.5 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1464, allocations: 0 / 342.5 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.1468, allocations: 83.83 kB / 342.6 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1468, allocations: 0 / 342.6 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.1468, allocations: 8 kB / 342.6 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1468, allocations: 4 kB / 342.6 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1469, allocations: 0 / 342.6 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.1477, allocations: 0.5542 MB / 343.1 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1478, allocations: 136.7 kB / 343.3 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.1479, allocations: 12 kB / 343.3 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.1481, allocations: 19.98 kB / 343.3 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.1482, allocations: 23.97 kB / 343.3 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.1482, allocations: 12 kB / 343.3 MB, free: 3.289 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.1485, allocations: 259 kB / 343.6 MB, free: 3.039 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.402e-06/0.1485, allocations: 0 / 343.6 MB, free: 3.039 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.1489, allocations: 99.94 kB / 343.7 MB, free: 2.941 MB / 286.1 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 (40): * Single equations (assignments): 38 * 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.001104/0.15, allocations: 425.9 kB / 344.1 MB, free: 2.531 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007169/0.1508, allocations: 366.3 kB / 344.5 MB, free: 2.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.1508, allocations: 0 / 344.5 MB, free: 2.16 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.1511, allocations: 131.8 kB / 344.6 MB, free: 2.031 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.1518, allocations: 101.7 kB / 344.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1539, allocations: 1.166 MB / 345.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.1544, allocations: 0.8041 MB / 346.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.1546, allocations: 55.25 kB / 346.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.1547, allocations: 35.42 kB / 346.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1547, allocations: 0 / 346.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of Templates: time 0.01146/0.1661, allocations: 4.973 MB / 351.7 MB, free: 10.83 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (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 & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches