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.0008567/0.0008566, allocations: 112.5 kB / 17.69 MB, free: 5.438 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.001056/0.001055, allocations: 191 kB / 18.63 MB, free: 4.508 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.322/1.322, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 47.61 kB / 302.1 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09284, allocations: 49.45 MB / 351.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003854/0.09672, allocations: 2.991 MB / 354.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.09849, allocations: 1.266 MB / 355.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.09863, allocations: 7.938 kB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.09905, allocations: 143.2 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.09942, allocations: 170.9 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.09978, allocations: 171.5 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.1002, allocations: 438 kB / 356.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.1004, allocations: 112 kB / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1006, allocations: 171.3 kB / 356.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1008, allocations: 187.2 kB / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.1009, allocations: 28 kB / 357.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.101, allocations: 59.98 kB / 357.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.1011, allocations: 79.69 kB / 357.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.1012, allocations: 183 kB / 357.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.1016, allocations: 450.2 kB / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1017, allocations: 0 / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1017, allocations: 0 / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1017, allocations: 4 kB / 357.9 MB, free: 13.27 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.0008826/0.1026, allocations: 0.6674 MB / 358.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.1026, allocations: 12.03 kB / 358.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.1027, allocations: 48.38 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.1031, allocations: 319.8 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1031, allocations: 24.88 kB / 359 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.1032, allocations: 28.12 kB / 359 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.1036, allocations: 291.1 kB / 359.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1036, allocations: 4 kB / 359.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.1037, allocations: 16 kB / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1037, allocations: 4 kB / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.1041, allocations: 178.1 kB / 359.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.1053, allocations: 0.8288 MB / 360.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.1058, allocations: 263.4 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.1059, allocations: 109.3 kB / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.106, allocations: 4.281 kB / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.1063, allocations: 162.6 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.1063, allocations: 0 / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002089/0.1084, allocations: 1.312 MB / 362.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.1085, allocations: 191.9 kB / 362.3 MB, free: 8.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.1088, allocations: 324.6 kB / 362.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.1088, allocations: 33.7 kB / 362.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.109, allocations: 188.5 kB / 362.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1091, allocations: 141.9 kB / 363 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.1093, allocations: 74.12 kB / 363.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1095, allocations: 346.8 kB / 363.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.1097, allocations: 84.84 kB / 363.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.11, allocations: 185.3 kB / 363.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.1103, allocations: 246.2 kB / 363.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1103, allocations: 0 / 363.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005255/0.1109, allocations: 358.2 kB / 364.3 MB, free: 6.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1109, allocations: 4 kB / 364.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1109, allocations: 0 / 364.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.104e-05/0.111, allocations: 32.97 kB / 364.3 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.1113, allocations: 91.89 kB / 364.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009546/0.1123, allocations: 1.394 MB / 365.8 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.1125, allocations: 16.03 kB / 365.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.1125, allocations: 12 kB / 365.8 MB, free: 4.773 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.0001576/0.1127, allocations: 166.2 kB / 366 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.1128, allocations: 35.62 kB / 366 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.077e-05/0.1128, allocations: 43.97 kB / 366.1 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1129, allocations: 8 kB / 366.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1129, allocations: 7.938 kB / 366.1 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005531/0.1134, allocations: 0.6572 MB / 366.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.1145, allocations: 0.8413 MB / 367.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1145, allocations: 8.062 kB / 367.6 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.1148, allocations: 75.97 kB / 367.7 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1148, allocations: 4 kB / 367.7 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.1148, allocations: 19.92 kB / 367.7 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.1149, allocations: 4 kB / 367.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1149, allocations: 0 / 367.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/0.1155, allocations: 0.5423 MB / 368.2 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.1157, allocations: 132.8 kB / 368.4 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.1157, allocations: 11.98 kB / 368.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.116, allocations: 15.91 kB / 368.4 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.116, allocations: 23.97 kB / 368.4 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.1161, allocations: 15.98 kB / 368.4 MB, free: 1.934 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.1163, allocations: 239.1 kB / 368.7 MB, free: 1.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1163, allocations: 0 / 368.7 MB, free: 1.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.1167, allocations: 96.56 kB / 368.8 MB, free: 1.605 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.0008841/0.1176, allocations: 429.5 kB / 369.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005715/0.1182, allocations: 374.5 kB / 369.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1182, allocations: 4.062 kB / 369.5 MB, free: 0.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.1184, allocations: 135.8 kB / 369.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.1189, allocations: 85.02 kB / 369.8 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1525/0.2714, allocations: 1.012 MB / 370.8 MB, free: 25.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.2718, allocations: 0.8018 MB / 371.6 MB, free: 24.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.272, allocations: 48.42 kB / 371.6 MB, free: 24.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.2721, allocations: 33.7 kB / 371.7 MB, free: 24.74 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2721, allocations: 0 / 371.7 MB, free: 24.74 MB / 302.1 MB Notification: Performance of Templates: time 0.01144/0.2836, allocations: 5.239 MB / 376.9 MB, free: 24.61 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 -s gbode -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/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches