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.00097/0.0009701, allocations: 92.75 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.7 MB / 246.8 MB, free: 9.766 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002287/0.0002287, allocations: 11.98 kB / 307.7 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09509, allocations: 51.52 MB / 359.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003307/0.09844, allocations: 2.691 MB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1008, allocations: 1.313 MB / 363.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.101, allocations: 7.938 kB / 363.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.1015, allocations: 127.4 kB / 363.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004906/0.102, allocations: 183.1 kB / 363.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1023, allocations: 115.8 kB / 363.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.1027, allocations: 425.9 kB / 364.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1029, allocations: 103 kB / 364.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.1031, allocations: 159.3 kB / 364.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.1033, allocations: 179.1 kB / 364.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.1034, allocations: 16 kB / 364.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1035, allocations: 43.98 kB / 364.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.1036, allocations: 71.75 kB / 364.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1038, allocations: 196.7 kB / 364.9 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.1042, allocations: 430.6 kB / 365.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1042, allocations: 4 kB / 365.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1042, allocations: 4 kB / 365.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1042, allocations: 0 / 365.3 MB, free: 7.02 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.0008654/0.1051, allocations: 0.6052 MB / 365.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1051, allocations: 16.03 kB / 365.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.1052, allocations: 44.45 kB / 365.9 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.1055, allocations: 328.3 kB / 366.3 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.1056, allocations: 28.91 kB / 366.3 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.1056, allocations: 28.12 kB / 366.3 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.1061, allocations: 291.1 kB / 366.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1061, allocations: 7.984 kB / 366.6 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.1062, allocations: 8 kB / 366.6 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1062, allocations: 8 kB / 366.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.1065, allocations: 174.2 kB / 366.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.1077, allocations: 0.8366 MB / 367.6 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.1082, allocations: 263.4 kB / 367.9 MB, free: 4.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1084, allocations: 97.39 kB / 368 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.1085, allocations: 8.266 kB / 368 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.1088, allocations: 162.6 kB / 368.2 MB, free: 3.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.774e-06/0.1088, allocations: 7.938 kB / 368.2 MB, free: 3.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002189/0.111, allocations: 1.301 MB / 369.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.1111, allocations: 191.9 kB / 369.7 MB, free: 2.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1114, allocations: 340.5 kB / 370 MB, free: 1.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1114, allocations: 33.7 kB / 370 MB, free: 1.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1116, allocations: 184.6 kB / 370.2 MB, free: 1.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.1117, allocations: 141.9 kB / 370.3 MB, free: 1.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.1117, allocations: 37.7 kB / 370.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1119, allocations: 346.8 kB / 370.7 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.112, allocations: 88.83 kB / 370.8 MB, free: 1.113 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1123, allocations: 185.3 kB / 371 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.1127, allocations: 246.2 kB / 371.2 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1127, allocations: 0 / 371.2 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000542/0.1132, allocations: 350.5 kB / 371.6 MB, free: 296 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1133, allocations: 4 kB / 371.6 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1133, allocations: 7.984 kB / 371.6 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.265e-05/0.1134, allocations: 16.98 kB / 371.6 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1137, allocations: 99.83 kB / 371.7 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1591/0.2728, allocations: 1.279 MB / 373 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.2731, allocations: 14.08 kB / 373 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.2732, allocations: 15.28 kB / 373 MB, free: 18.51 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.0002172/0.2734, allocations: 178.6 kB / 373.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.2735, allocations: 37.06 kB / 373.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.955e-05/0.2736, allocations: 50.02 kB / 373.3 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2736, allocations: 4.344 kB / 373.3 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2736, allocations: 5.344 kB / 373.3 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006079/0.2742, allocations: 0.6515 MB / 373.9 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.2755, allocations: 0.8468 MB / 374.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2755, allocations: 1.781 kB / 374.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.2759, allocations: 72.84 kB / 374.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.2759, allocations: 7.203 kB / 374.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.2759, allocations: 16.58 kB / 374.9 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.2759, allocations: 2.625 kB / 374.9 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.2759, allocations: 6.609 kB / 374.9 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.2767, allocations: 0.542 MB / 375.4 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.2768, allocations: 139.1 kB / 375.5 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.2769, allocations: 15.52 kB / 375.6 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.2771, allocations: 16.61 kB / 375.6 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.2772, allocations: 27.98 kB / 375.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.2772, allocations: 13.52 kB / 375.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.2775, allocations: 244.9 kB / 375.9 MB, free: 17.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2775, allocations: 1.781 kB / 375.9 MB, free: 17.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000426/0.278, allocations: 98.58 kB / 376 MB, free: 17.11 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.0009204/0.2789, allocations: 414.9 kB / 376.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006206/0.2795, allocations: 371.2 kB / 376.7 MB, free: 16.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2795, allocations: 0.75 kB / 376.7 MB, free: 16.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.2798, allocations: 134.5 kB / 376.9 MB, free: 16.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/0.2805, allocations: 98 kB / 377 MB, free: 16.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.2821, allocations: 1.284 MB / 378.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.2824, allocations: 0.8038 MB / 379 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.2826, allocations: 46.64 kB / 379.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.2827, allocations: 35.67 kB / 379.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2827, allocations: 0 / 379.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of Templates: time 0.009896/0.2926, allocations: 4.962 MB / 384.1 MB, free: 14.66 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/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