Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.000768/0.0007681, allocations: 90.33 kB / 16.65 MB, free: 6.59 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.0009069/0.000907, allocations: 182.6 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 241.6 MB, free: 128 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002444/0.0002444, allocations: 4 kB / 301.4 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08846, allocations: 50.42 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003138/0.09163, allocations: 2.67 MB / 354.5 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.0936, allocations: 1.161 MB / 355.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.09385, allocations: 4 kB / 355.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.09431, allocations: 135.4 kB / 355.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.09476, allocations: 155.1 kB / 355.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.0952, allocations: 143.8 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.09569, allocations: 419 kB / 356.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.09588, allocations: 90.8 kB / 356.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.09611, allocations: 163.3 kB / 356.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.09635, allocations: 175.1 kB / 356.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.09641, allocations: 20 kB / 356.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.09653, allocations: 39.98 kB / 357 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.09663, allocations: 71.69 kB / 357 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.09682, allocations: 196.7 kB / 357.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.09726, allocations: 426.6 kB / 357.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.09728, allocations: 0 / 357.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09729, allocations: 0 / 357.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.0973, allocations: 0 / 357.7 MB, free: 13.85 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.0009202/0.09823, allocations: 0.6052 MB / 358.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.09827, allocations: 8.031 kB / 358.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/0.09838, allocations: 44.47 kB / 358.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.09877, allocations: 319.8 kB / 358.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.09882, allocations: 24.94 kB / 358.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.09888, allocations: 28.12 kB / 358.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.09937, allocations: 291.1 kB / 359 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.0994, allocations: 4 kB / 359 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.09944, allocations: 12 kB / 359 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.09945, allocations: 4 kB / 359 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.0998, allocations: 182.1 kB / 359.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.1011, allocations: 0.8405 MB / 360 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.1016, allocations: 264 kB / 360.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.1018, allocations: 97.33 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.1019, allocations: 12.25 kB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.1022, allocations: 166.5 kB / 360.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/0.1022, allocations: 0 / 360.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002283/0.1045, allocations: 1.313 MB / 361.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.1046, allocations: 187.9 kB / 362 MB, free: 9.141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.1049, allocations: 324.5 kB / 362.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.105, allocations: 37.7 kB / 362.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1051, allocations: 188.5 kB / 362.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.1052, allocations: 142 kB / 362.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.1053, allocations: 37.7 kB / 362.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1054, allocations: 346.8 kB / 363.1 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.1056, allocations: 88.83 kB / 363.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.1059, allocations: 181.3 kB / 363.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.1063, allocations: 242.2 kB / 363.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1063, allocations: 0 / 363.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005743/0.1068, allocations: 358.2 kB / 363.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1069, allocations: 8 kB / 363.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1069, allocations: 3.938 kB / 363.9 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-05/0.107, allocations: 20.84 kB / 364 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.1073, allocations: 95.83 kB / 364 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009623/0.1083, allocations: 1.277 MB / 365.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.1085, allocations: 27.95 kB / 365.4 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.1085, allocations: 16 kB / 365.4 MB, free: 5.562 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.000182/0.1087, allocations: 168.6 kB / 365.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.1088, allocations: 35.62 kB / 365.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.375e-05/0.1089, allocations: 47.88 kB / 365.6 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1089, allocations: 4 kB / 365.6 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1089, allocations: 3.984 kB / 365.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005965/0.1095, allocations: 0.665 MB / 366.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1107, allocations: 0.8446 MB / 367.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1107, allocations: 0 / 367.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.111, allocations: 79.84 kB / 367.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1111, allocations: 4 kB / 367.2 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.1111, allocations: 15.92 kB / 367.2 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1111, allocations: 4.125 kB / 367.2 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1111, allocations: 4 kB / 367.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.1118, allocations: 0.5411 MB / 367.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.112, allocations: 144.6 kB / 367.9 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.112, allocations: 16 kB / 367.9 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.1123, allocations: 15.98 kB / 367.9 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.1123, allocations: 23.97 kB / 368 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.1124, allocations: 8 kB / 368 MB, free: 2.715 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.1126, allocations: 235.1 kB / 368.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1126, allocations: 4 kB / 368.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.113, allocations: 91.98 kB / 368.3 MB, free: 2.391 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.0009257/0.114, allocations: 431 kB / 368.7 MB, free: 2.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006129/0.1146, allocations: 362.4 kB / 369.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.1146, allocations: 3.938 kB / 369.1 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.1149, allocations: 132.3 kB / 369.2 MB, free: 1.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.1155, allocations: 96.91 kB / 369.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.1172, allocations: 1.275 MB / 370.6 MB, free: 220 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1459/0.2631, allocations: 0.7953 MB / 371.4 MB, free: 23.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.2633, allocations: 46.53 kB / 371.4 MB, free: 23.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.2635, allocations: 34.66 kB / 371.5 MB, free: 23.84 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2635, allocations: 0 / 371.5 MB, free: 23.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01024/0.2737, allocations: 4.922 MB / 376.4 MB, free: 23.68 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches