Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 173.5 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007468/0.0007469, allocations: 89.53 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003476, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2371, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002553/0.2397, allocations: 2.555 MB / 377.6 MB, free: 43.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2412, allocations: 1.06 MB / 378.7 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.2413, allocations: 8.625 kB / 378.7 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.2417, allocations: 138 kB / 378.8 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.2421, allocations: 154.8 kB / 379 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.2424, allocations: 121.2 kB / 379.1 MB, free: 42.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.2428, allocations: 403.8 kB / 379.5 MB, free: 42.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.243, allocations: 102.3 kB / 379.6 MB, free: 42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.2432, allocations: 144 kB / 379.7 MB, free: 41.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.2434, allocations: 180.1 kB / 379.9 MB, free: 41.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.2434, allocations: 17.56 kB / 379.9 MB, free: 41.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.2435, allocations: 55.61 kB / 380 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.2436, allocations: 71.69 kB / 380.1 MB, free: 41.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2438, allocations: 200 kB / 380.3 MB, free: 41.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.2441, allocations: 328.9 kB / 380.6 MB, free: 41.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2441, allocations: 1.125 kB / 380.6 MB, free: 41.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2441, allocations: 0 / 380.6 MB, free: 41.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2441, allocations: 0 / 380.6 MB, free: 41.37 MB / 298.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.0007679/0.2449, allocations: 0.6248 MB / 381.2 MB, free: 40.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2449, allocations: 9.531 kB / 381.2 MB, free: 40.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.882e-05/0.245, allocations: 46.45 kB / 381.3 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.2453, allocations: 312.2 kB / 381.6 MB, free: 40.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.2454, allocations: 26.84 kB / 381.6 MB, free: 40.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.2454, allocations: 36.67 kB / 381.6 MB, free: 40.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.2459, allocations: 287.2 kB / 381.9 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2459, allocations: 5.281 kB / 381.9 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.2459, allocations: 15.23 kB / 381.9 MB, free: 40.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.246, allocations: 6.062 kB / 381.9 MB, free: 40.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.2463, allocations: 174.8 kB / 382.1 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2474, allocations: 0.862 MB / 383 MB, free: 39.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.2479, allocations: 251.7 kB / 383.2 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.2481, allocations: 98.55 kB / 383.3 MB, free: 39.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.2481, allocations: 4.938 kB / 383.3 MB, free: 39.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.2484, allocations: 171.8 kB / 383.5 MB, free: 39.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.2484, allocations: 0 / 383.5 MB, free: 39.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002041/0.2505, allocations: 1.304 MB / 384.8 MB, free: 38.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.2505, allocations: 185.4 kB / 385 MB, free: 37.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.2509, allocations: 351.1 kB / 385.3 MB, free: 37.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.2509, allocations: 36.83 kB / 385.3 MB, free: 37.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.251, allocations: 190.9 kB / 385.5 MB, free: 37.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.2511, allocations: 130.6 kB / 385.7 MB, free: 37.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.2511, allocations: 10.09 kB / 385.7 MB, free: 37.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.2512, allocations: 356.3 kB / 386 MB, free: 37.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.2514, allocations: 83.03 kB / 386.1 MB, free: 37.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.2516, allocations: 180.2 kB / 386.3 MB, free: 36.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.2519, allocations: 246.6 kB / 386.5 MB, free: 36.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.252, allocations: 0 / 386.5 MB, free: 36.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005127/0.2525, allocations: 360.2 kB / 386.9 MB, free: 36.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2525, allocations: 8.125 kB / 386.9 MB, free: 36.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2525, allocations: 4 kB / 386.9 MB, free: 36.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.58e-05/0.2526, allocations: 12.86 kB / 386.9 MB, free: 36.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.2529, allocations: 91.89 kB / 387 MB, free: 36.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006781/0.2536, allocations: 1.289 MB / 388.3 MB, free: 34.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.2538, allocations: 15.94 kB / 388.3 MB, free: 34.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.2538, allocations: 15.94 kB / 388.3 MB, free: 34.92 MB / 298.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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.254, allocations: 169.8 kB / 388.5 MB, free: 34.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.254, allocations: 35.62 kB / 388.5 MB, free: 34.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.178e-05/0.2541, allocations: 51.98 kB / 388.5 MB, free: 34.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2541, allocations: 8 kB / 388.6 MB, free: 34.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2541, allocations: 4 kB / 388.6 MB, free: 34.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004322/0.2545, allocations: 0.6609 MB / 389.2 MB, free: 33.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/0.2554, allocations: 0.8523 MB / 390.1 MB, free: 32.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2554, allocations: 11.88 kB / 390.1 MB, free: 32.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.2557, allocations: 75.84 kB / 390.2 MB, free: 32.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2557, allocations: 3.984 kB / 390.2 MB, free: 32.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.2558, allocations: 15.98 kB / 390.2 MB, free: 32.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.2558, allocations: 4 kB / 390.2 MB, free: 32.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2558, allocations: 0 / 390.2 MB, free: 32.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.2564, allocations: 0.5419 MB / 390.7 MB, free: 32.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.2565, allocations: 144.6 kB / 390.9 MB, free: 32.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.2566, allocations: 8 kB / 390.9 MB, free: 32.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.2568, allocations: 23.98 kB / 390.9 MB, free: 32.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.2568, allocations: 23.97 kB / 390.9 MB, free: 32.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.2569, allocations: 12 kB / 390.9 MB, free: 32.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.2571, allocations: 251 kB / 391.2 MB, free: 31.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2571, allocations: 0 / 391.2 MB, free: 31.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003556/0.2574, allocations: 96.61 kB / 391.3 MB, free: 31.71 MB / 298.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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007988/0.2582, allocations: 422.6 kB / 391.7 MB, free: 31.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005096/0.2588, allocations: 362.9 kB / 392 MB, free: 30.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2588, allocations: 0 / 392 MB, free: 30.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.259, allocations: 131.8 kB / 392.2 MB, free: 30.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.2595, allocations: 96.75 kB / 392.3 MB, free: 30.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2609, allocations: 1.281 MB / 393.5 MB, free: 29.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.2611, allocations: 0.8041 MB / 394.3 MB, free: 28.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.2612, allocations: 39.42 kB / 394.4 MB, free: 28.53 MB / 298.7 MB Notification: Performance of SimCode: time 1.243e-06/0.2612, allocations: 0 / 394.4 MB, free: 28.53 MB / 298.7 MB Notification: Performance of Templates: time 0.006625/0.2678, allocations: 5.678 MB / 400.1 MB, free: 22.84 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches