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.001119/0.001119, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001309/0.001309, allocations: 192 kB / 19.29 MB, free: 3.715 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.387/1.387, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001241/0.001241, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1078, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004666/0.1125, allocations: 2.999 MB / 331.7 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1146, allocations: 1.177 MB / 332.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.1148, allocations: 4 kB / 332.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.1154, allocations: 175.1 kB / 333.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004931/0.1159, allocations: 182.9 kB / 333.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.1163, allocations: 143.6 kB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.1169, allocations: 438.1 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.1171, allocations: 103.5 kB / 333.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.1173, allocations: 175.3 kB / 334.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.1176, allocations: 199.1 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.128e-05/0.1177, allocations: 28 kB / 334.3 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1178, allocations: 75.97 kB / 334.4 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.118, allocations: 79.69 kB / 334.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.1181, allocations: 190.9 kB / 334.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.1187, allocations: 462.4 kB / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1187, allocations: 0 / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1187, allocations: 0 / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.1187, allocations: 0 / 335.1 MB, free: 13.34 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.001176/0.1199, allocations: 0.6906 MB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1199, allocations: 8.031 kB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.024e-05/0.12, allocations: 48.41 kB / 335.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.1206, allocations: 312.5 kB / 336.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.1207, allocations: 16.94 kB / 336.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.1207, allocations: 36.03 kB / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.1213, allocations: 295.1 kB / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1213, allocations: 0 / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.1214, allocations: 12 kB / 336.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.1214, allocations: 11.94 kB / 336.5 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.1217, allocations: 178.1 kB / 336.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.123, allocations: 0.8483 MB / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.1236, allocations: 260 kB / 337.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.1238, allocations: 105.4 kB / 337.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.1238, allocations: 8.219 kB / 337.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.1241, allocations: 160.9 kB / 338.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.1241, allocations: 0 / 338.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002248/0.1264, allocations: 1.32 MB / 339.4 MB, free: 8.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.1265, allocations: 187.9 kB / 339.6 MB, free: 8.523 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.1269, allocations: 348.5 kB / 339.9 MB, free: 8.168 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.1269, allocations: 33.7 kB / 339.9 MB, free: 8.129 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1271, allocations: 196.5 kB / 340.1 MB, free: 7.934 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.1272, allocations: 138.1 kB / 340.3 MB, free: 7.797 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1273, allocations: 78.03 kB / 340.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1275, allocations: 350.8 kB / 340.7 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.1276, allocations: 84.84 kB / 340.8 MB, free: 7.281 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.1279, allocations: 189.2 kB / 341 MB, free: 7.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.1283, allocations: 242.2 kB / 341.2 MB, free: 6.809 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1283, allocations: 0 / 341.2 MB, free: 6.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005201/0.1288, allocations: 362.2 kB / 341.5 MB, free: 6.445 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1289, allocations: 4 kB / 341.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1289, allocations: 0 / 341.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.757e-05/0.129, allocations: 24.91 kB / 341.6 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.1293, allocations: 87.91 kB / 341.7 MB, free: 6.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.1303, allocations: 1.39 MB / 343 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.1305, allocations: 23.95 kB / 343.1 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.1306, allocations: 16.16 kB / 343.1 MB, free: 4.762 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.0001791/0.1308, allocations: 165.8 kB / 343.2 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.1308, allocations: 43.52 kB / 343.3 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.933e-05/0.1309, allocations: 47.94 kB / 343.3 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1309, allocations: 4 kB / 343.3 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1309, allocations: 3.938 kB / 343.3 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006147/0.1316, allocations: 0.6608 MB / 344 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.1327, allocations: 0.8453 MB / 344.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1327, allocations: 3.984 kB / 344.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.1331, allocations: 75.91 kB / 344.9 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1331, allocations: 4 kB / 344.9 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.1331, allocations: 8 kB / 344.9 MB, free: 2.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1331, allocations: 7.938 kB / 344.9 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1331, allocations: 4.125 kB / 345 MB, free: 2.703 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007537/0.1339, allocations: 0.5506 MB / 345.5 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.134, allocations: 128.8 kB / 345.6 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.1341, allocations: 12 kB / 345.6 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.1343, allocations: 19.98 kB / 345.7 MB, free: 1.949 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.1344, allocations: 28.03 kB / 345.7 MB, free: 1.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.1344, allocations: 16 kB / 345.7 MB, free: 1.906 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.1347, allocations: 255 kB / 346 MB, free: 1.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1347, allocations: 0 / 346 MB, free: 1.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003947/0.1351, allocations: 103.9 kB / 346.1 MB, free: 1.559 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.0009974/0.1361, allocations: 425.9 kB / 346.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006564/0.1368, allocations: 370.3 kB / 346.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1368, allocations: 0 / 346.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.137, allocations: 131.8 kB / 347 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.1375, allocations: 93.81 kB / 347.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.1391, allocations: 1.038 MB / 348.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1395, allocations: 0.8117 MB / 348.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.1397, allocations: 43.27 kB / 348.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.1398, allocations: 39.38 kB / 349 MB, free: 14.56 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1398, allocations: 0 / 349 MB, free: 14.56 MB / 302.1 MB Notification: Performance of Templates: time 0.01129/0.1511, allocations: 5.218 MB / 354.2 MB, free: 9.332 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches