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.00111/0.00111, allocations: 113.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 207.8 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.89 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2452, allocations: 50.55 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004116/0.2494, allocations: 3.013 MB / 412.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.2516, allocations: 1.402 MB / 413.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.2518, allocations: 7.938 kB / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.2523, allocations: 143.2 kB / 413.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005475/0.2528, allocations: 218.7 kB / 414 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.2532, allocations: 143.5 kB / 414.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004857/0.2537, allocations: 442.2 kB / 414.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.2539, allocations: 115.8 kB / 414.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.2541, allocations: 179.3 kB / 414.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.2544, allocations: 187.1 kB / 415.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.2544, allocations: 32 kB / 415.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.2546, allocations: 63.97 kB / 415.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2547, allocations: 75.69 kB / 415.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.2549, allocations: 194.9 kB / 415.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004515/0.2553, allocations: 451.6 kB / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2553, allocations: 0 / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2553, allocations: 0 / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.2553, allocations: 0 / 415.9 MB, free: 10.96 MB / 334.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.0009406/0.2563, allocations: 0.6867 MB / 416.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2563, allocations: 12.03 kB / 416.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.2564, allocations: 40.47 kB / 416.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.2568, allocations: 320.5 kB / 416.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.2569, allocations: 16.94 kB / 416.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.2569, allocations: 32.06 kB / 417 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.2574, allocations: 299.1 kB / 417.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.2574, allocations: 3.906 kB / 417.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.2574, allocations: 12 kB / 417.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.2575, allocations: 8 kB / 417.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.258, allocations: 174.1 kB / 417.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.2594, allocations: 0.8405 MB / 418.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.2599, allocations: 259.4 kB / 418.5 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.2602, allocations: 101.4 kB / 418.6 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.2602, allocations: 4.281 kB / 418.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/0.2605, allocations: 163.2 kB / 418.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.2605, allocations: 0 / 418.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002362/0.2629, allocations: 1.319 MB / 420.1 MB, free: 6.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/0.263, allocations: 187.9 kB / 420.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.2634, allocations: 336.5 kB / 420.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.2634, allocations: 29.7 kB / 420.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2635, allocations: 196.6 kB / 420.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/0.2636, allocations: 134 kB / 421 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.2637, allocations: 70.14 kB / 421 MB, free: 5.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2639, allocations: 350.8 kB / 421.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.2641, allocations: 88.83 kB / 421.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.2643, allocations: 189.2 kB / 421.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.2647, allocations: 246.2 kB / 421.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2647, allocations: 4 kB / 421.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005406/0.2653, allocations: 346.5 kB / 422.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2653, allocations: 7.984 kB / 422.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2653, allocations: 4 kB / 422.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.108e-05/0.2654, allocations: 20.8 kB / 422.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.2657, allocations: 91.89 kB / 422.4 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.2667, allocations: 1.394 MB / 423.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.2669, allocations: 20.06 kB / 423.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.267, allocations: 12 kB / 423.8 MB, free: 2.438 MB / 334.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.0001718/0.2672, allocations: 171.5 kB / 424 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.2672, allocations: 35.62 kB / 424 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.123e-05/0.2673, allocations: 43.95 kB / 424 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2673, allocations: 4 kB / 424 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2673, allocations: 3.938 kB / 424 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005998/0.2679, allocations: 0.665 MB / 424.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.269, allocations: 0.846 MB / 425.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.269, allocations: 0 / 425.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.2694, allocations: 79.84 kB / 425.6 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.2694, allocations: 4 kB / 425.6 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.2694, allocations: 11.98 kB / 425.6 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2694, allocations: 4.125 kB / 425.7 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2694, allocations: 7.938 kB / 425.7 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007268/0.2701, allocations: 0.5423 MB / 426.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.2703, allocations: 140.7 kB / 426.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.2703, allocations: 15.92 kB / 426.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.2706, allocations: 16 kB / 426.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.2706, allocations: 23.91 kB / 426.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.2707, allocations: 15.98 kB / 426.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.2709, allocations: 239.1 kB / 426.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2709, allocations: 0 / 426.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.2713, allocations: 108.5 kB / 426.7 MB, free: 15.25 MB / 350.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.0008663/0.2722, allocations: 420.1 kB / 427.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005915/0.2728, allocations: 366.5 kB / 427.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2728, allocations: 0 / 427.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.273, allocations: 132.2 kB / 427.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.2735, allocations: 103.3 kB / 427.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.2751, allocations: 1.025 MB / 428.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.2754, allocations: 0.804 MB / 429.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.2756, allocations: 47.25 kB / 429.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.2756, allocations: 35.44 kB / 429.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2757, allocations: 0 / 429.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Templates: time 0.009783/0.2854, allocations: 5.337 MB / 435 MB, free: 7.121 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches