Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001474/0.001474, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 60.12 kB / 306.9 MB, free: 1.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1013, allocations: 50.55 MB / 357.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00482/0.1062, allocations: 3.046 MB / 360.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.1088, allocations: 1.41 MB / 361.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.1092, allocations: 4 kB / 361.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.1098, allocations: 127.5 kB / 362 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006537/0.1105, allocations: 191 kB / 362.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.1109, allocations: 107.8 kB / 362.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006044/0.1116, allocations: 418.1 kB / 362.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.1118, allocations: 106.9 kB / 362.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.1121, allocations: 163.3 kB / 363 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.1124, allocations: 183.1 kB / 363.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.1125, allocations: 20 kB / 363.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.1127, allocations: 51.97 kB / 363.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1128, allocations: 71.64 kB / 363.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.113, allocations: 179 kB / 363.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.1134, allocations: 335.5 kB / 363.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.1134, allocations: 0 / 363.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1134, allocations: 0 / 363.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1134, allocations: 0 / 363.8 MB, free: 8.062 MB / 302.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.001202/0.1146, allocations: 0.6868 MB / 364.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1147, allocations: 8.031 kB / 364.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.1148, allocations: 52.45 kB / 364.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.1153, allocations: 316.5 kB / 364.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.1153, allocations: 20.92 kB / 364.9 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.1154, allocations: 35.97 kB / 364.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.1159, allocations: 291.1 kB / 365.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.1159, allocations: 7.984 kB / 365.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.116, allocations: 12 kB / 365.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.116, allocations: 8 kB / 365.2 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.1163, allocations: 178.1 kB / 365.4 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.1177, allocations: 0.8327 MB / 366.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.1183, allocations: 263.4 kB / 366.5 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.1184, allocations: 93.39 kB / 366.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.1185, allocations: 8.266 kB / 366.6 MB, free: 5.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003696/0.1189, allocations: 166.6 kB / 366.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.1189, allocations: 0 / 366.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002356/0.1212, allocations: 1.304 MB / 368.1 MB, free: 3.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.624e-05/0.1213, allocations: 187.9 kB / 368.3 MB, free: 3.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.1217, allocations: 340.5 kB / 368.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.1218, allocations: 33.7 kB / 368.6 MB, free: 2.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1219, allocations: 184.6 kB / 368.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.122, allocations: 145.9 kB / 368.9 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.1222, allocations: 74.12 kB / 369 MB, free: 2.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1223, allocations: 350.7 kB / 369.4 MB, free: 2.137 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.1225, allocations: 84.84 kB / 369.4 MB, free: 2.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.1228, allocations: 185.2 kB / 369.6 MB, free: 1.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.1231, allocations: 250.2 kB / 369.9 MB, free: 1.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1232, allocations: 0 / 369.9 MB, free: 1.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005929/0.1238, allocations: 350.5 kB / 370.2 MB, free: 1.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1238, allocations: 7.938 kB / 370.2 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1238, allocations: 64 / 370.2 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.1239, allocations: 24.86 kB / 370.2 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.1243, allocations: 88.02 kB / 370.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1793/0.3036, allocations: 1.29 MB / 371.6 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.304, allocations: 16.38 kB / 371.6 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.304, allocations: 13.12 kB / 371.6 MB, free: 19.35 MB / 302.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.0002676/0.3043, allocations: 162.8 kB / 371.8 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.3044, allocations: 42.28 kB / 371.8 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.3045, allocations: 45.61 kB / 371.9 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3045, allocations: 11.44 kB / 371.9 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3045, allocations: 1.156 kB / 371.9 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006933/0.3052, allocations: 0.6596 MB / 372.6 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.3065, allocations: 0.8451 MB / 373.4 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3065, allocations: 1.062 kB / 373.4 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.3069, allocations: 79.33 kB / 373.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.3069, allocations: 2.891 kB / 373.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.3069, allocations: 8.75 kB / 373.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.3069, allocations: 3.906 kB / 373.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3069, allocations: 1.219 kB / 373.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008118/0.3078, allocations: 0.5496 MB / 374 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.3079, allocations: 136.9 kB / 374.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.308, allocations: 13.17 kB / 374.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.3082, allocations: 19.61 kB / 374.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.3083, allocations: 24.84 kB / 374.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.3083, allocations: 18.3 kB / 374.3 MB, free: 18.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002958/0.3086, allocations: 241.4 kB / 374.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3087, allocations: 3.781 kB / 374.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004592/0.3091, allocations: 92.75 kB / 374.6 MB, free: 18.01 MB / 302.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.0009828/0.3101, allocations: 417.6 kB / 375 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007665/0.3109, allocations: 371.2 kB / 375.4 MB, free: 17.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3109, allocations: 1.031 kB / 375.4 MB, free: 17.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.3112, allocations: 135.4 kB / 375.5 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.3118, allocations: 93.7 kB / 375.6 MB, free: 17.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.3135, allocations: 1.194 MB / 376.8 MB, free: 16.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.3138, allocations: 0.8041 MB / 377.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3139, allocations: 37.7 kB / 377.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3139, allocations: 1.188 kB / 377.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01144/0.3254, allocations: 5.726 MB / 383.3 MB, free: 15.2 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches