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.00128/0.00128, allocations: 107.3 kB / 17.73 MB, free: 5.215 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.001207/0.001207, allocations: 187.1 kB / 18.66 MB, free: 4.289 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.345/1.345, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001167/0.001168, allocations: 47.92 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1102, allocations: 46.62 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004737/0.115, allocations: 2.98 MB / 378.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1171, allocations: 1.204 MB / 379.3 MB, free: 396 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.1173, allocations: 4 kB / 379.3 MB, free: 392 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.1179, allocations: 163.1 kB / 379.5 MB, free: 228 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000423/0.1183, allocations: 186.9 kB / 379.7 MB, free: 40 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2206/0.339, allocations: 152.1 kB / 379.8 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007604/0.3397, allocations: 438.2 kB / 380.2 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.34, allocations: 109.9 kB / 380.3 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.3403, allocations: 177.1 kB / 380.5 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.3406, allocations: 201.9 kB / 380.7 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.3407, allocations: 27.56 kB / 380.7 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.3409, allocations: 66.22 kB / 380.8 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.341, allocations: 90.73 kB / 380.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.3412, allocations: 187.4 kB / 381.1 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006141/0.3418, allocations: 465.7 kB / 381.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3418, allocations: 3.969 kB / 381.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3418, allocations: 0 / 381.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.3419, allocations: 0.5 kB / 381.5 MB, free: 9.594 MB / 318.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.00112/0.343, allocations: 0.6758 MB / 382.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.3431, allocations: 9.469 kB / 382.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.3432, allocations: 47.44 kB / 382.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.3438, allocations: 324.7 kB / 382.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.3438, allocations: 18.66 kB / 382.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/0.3439, allocations: 28 kB / 382.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.3446, allocations: 298.3 kB / 382.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3446, allocations: 0.75 kB / 382.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.3447, allocations: 14.31 kB / 382.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3447, allocations: 12.38 kB / 382.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.3451, allocations: 174.9 kB / 383.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3465, allocations: 0.8383 MB / 384 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.3471, allocations: 263.9 kB / 384.2 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.3473, allocations: 99.8 kB / 384.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.3473, allocations: 5.719 kB / 384.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.3476, allocations: 172.4 kB / 384.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.3476, allocations: 0 / 384.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002185/0.3498, allocations: 1.314 MB / 385.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.3499, allocations: 185.2 kB / 386 MB, free: 7.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.3503, allocations: 354.6 kB / 386.3 MB, free: 7.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.3503, allocations: 33.36 kB / 386.4 MB, free: 7.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3505, allocations: 186.2 kB / 386.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.861e-05/0.3506, allocations: 139.9 kB / 386.7 MB, free: 6.805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3507, allocations: 73.23 kB / 386.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3508, allocations: 348.4 kB / 387.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.351, allocations: 95.88 kB / 387.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.3513, allocations: 174.3 kB / 387.4 MB, free: 6.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.3517, allocations: 253.9 kB / 387.6 MB, free: 6.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3517, allocations: 1.156 kB / 387.6 MB, free: 6.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006183/0.3523, allocations: 358.4 kB / 388 MB, free: 5.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.3523, allocations: 5.688 kB / 388 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3523, allocations: 2.125 kB / 388 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/0.3525, allocations: 23.84 kB / 388 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.3529, allocations: 89.11 kB / 388.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009436/0.3538, allocations: 1.387 MB / 389.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.354, allocations: 19.56 kB / 389.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.354, allocations: 14.66 kB / 389.5 MB, free: 4.535 MB / 318.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.0001751/0.3542, allocations: 175.9 kB / 389.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.3543, allocations: 39.44 kB / 389.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.822e-05/0.3544, allocations: 50.66 kB / 389.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3544, allocations: 4.969 kB / 389.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3544, allocations: 0.8125 kB / 389.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005715/0.355, allocations: 0.6633 MB / 390.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.3561, allocations: 0.849 MB / 391.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3561, allocations: 4.281 kB / 391.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.3564, allocations: 76.98 kB / 391.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3565, allocations: 4.438 kB / 391.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.3565, allocations: 13.09 kB / 391.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3565, allocations: 3.25 kB / 391.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3565, allocations: 2.125 kB / 391.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.3572, allocations: 0.5501 MB / 391.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3573, allocations: 138.8 kB / 392.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.3574, allocations: 9.312 kB / 392.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.3576, allocations: 14.47 kB / 392.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.3577, allocations: 31.16 kB / 392.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.3577, allocations: 15.34 kB / 392.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002409/0.358, allocations: 255.5 kB / 392.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.358, allocations: 0 / 392.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000395/0.3584, allocations: 92.28 kB / 392.5 MB, free: 2.562 MB / 318.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.001028/0.3594, allocations: 422.4 kB / 392.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.3601, allocations: 379.4 kB / 393.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3601, allocations: 0 / 393.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.3603, allocations: 134.9 kB / 393.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.3609, allocations: 107.8 kB / 393.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.3629, allocations: 1.029 MB / 394.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.3634, allocations: 0.8056 MB / 395.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.3636, allocations: 47.31 kB / 395.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3637, allocations: 38.22 kB / 395.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3637, allocations: 0 / 395.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of Templates: time 0.01205/0.3758, allocations: 5.321 MB / 400.7 MB, free: 15.77 MB / 334.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","/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) Reference file matches