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.001456/0.001456, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001543/0.001543, allocations: 192 kB / 18.62 MB, free: 4.41 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.386/1.386, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009503/0.0009503, allocations: 47.78 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09362, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004413/0.09807, allocations: 3.006 MB / 354.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1002, allocations: 1.25 MB / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1003, allocations: 8 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.1008, allocations: 147.1 kB / 355.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.1013, allocations: 166.9 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.1019, allocations: 179.5 kB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000675/0.1026, allocations: 442 kB / 356.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.1028, allocations: 99.95 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.1031, allocations: 171.3 kB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1033, allocations: 187.2 kB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.1034, allocations: 32 kB / 357.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1035, allocations: 63.97 kB / 357.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1037, allocations: 79.69 kB / 357.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.1039, allocations: 186.9 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.1044, allocations: 438.5 kB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1044, allocations: 4 kB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1044, allocations: 0 / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1044, allocations: 0 / 357.9 MB, free: 13.25 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.001093/0.1055, allocations: 0.6829 MB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1056, allocations: 8.031 kB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.232e-05/0.1057, allocations: 48.38 kB / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.1062, allocations: 311.9 kB / 358.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.1062, allocations: 20.94 kB / 359 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.1062, allocations: 32.11 kB / 359 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.1067, allocations: 295 kB / 359.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1068, allocations: 0 / 359.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.1068, allocations: 15.98 kB / 359.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.1068, allocations: 8 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.1071, allocations: 174.2 kB / 359.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.1086, allocations: 0.8405 MB / 360.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005413/0.1091, allocations: 262.4 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.1093, allocations: 101.4 kB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.1094, allocations: 4.281 kB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.1097, allocations: 166.6 kB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.1097, allocations: 4 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002275/0.112, allocations: 1.301 MB / 362.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.617e-05/0.1121, allocations: 187.9 kB / 362.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.1124, allocations: 328.6 kB / 362.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.1124, allocations: 33.7 kB / 362.7 MB, free: 8.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1126, allocations: 180.6 kB / 362.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.1127, allocations: 141.9 kB / 363 MB, free: 7.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.1128, allocations: 78.12 kB / 363.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.113, allocations: 350.7 kB / 363.4 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.1132, allocations: 84.84 kB / 363.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.1134, allocations: 181.3 kB / 363.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.1138, allocations: 254.1 kB / 363.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1138, allocations: 0 / 363.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000545/0.1144, allocations: 354.3 kB / 364.3 MB, free: 6.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1144, allocations: 8 kB / 364.3 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1144, allocations: 0 / 364.3 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-05/0.1145, allocations: 24.78 kB / 364.3 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.1148, allocations: 88.03 kB / 364.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.1159, allocations: 1.406 MB / 365.8 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1161, allocations: 15.98 kB / 365.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.1162, allocations: 16 kB / 365.8 MB, free: 4.738 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.00018/0.1164, allocations: 162.3 kB / 366 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.1164, allocations: 35.62 kB / 366 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.232e-05/0.1165, allocations: 39.88 kB / 366.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1165, allocations: 7.984 kB / 366.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1165, allocations: 3.938 kB / 366.1 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006038/0.1172, allocations: 0.669 MB / 366.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.1183, allocations: 0.8375 MB / 367.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1183, allocations: 0 / 367.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.1186, allocations: 79.97 kB / 367.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1186, allocations: 8.062 kB / 367.7 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.1186, allocations: 11.98 kB / 367.7 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1187, allocations: 4 kB / 367.7 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1187, allocations: 7.938 kB / 367.7 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.1194, allocations: 0.5384 MB / 368.2 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.1196, allocations: 132.8 kB / 368.4 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.1196, allocations: 8 kB / 368.4 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.1198, allocations: 19.91 kB / 368.4 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.1199, allocations: 31.89 kB / 368.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.1199, allocations: 12 kB / 368.4 MB, free: 1.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.1202, allocations: 235.1 kB / 368.7 MB, free: 1.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1202, allocations: 4 kB / 368.7 MB, free: 1.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.1206, allocations: 96.55 kB / 368.8 MB, free: 1.574 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.0009015/0.1215, allocations: 424.7 kB / 369.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006174/0.1221, allocations: 362.4 kB / 369.5 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1221, allocations: 4 kB / 369.5 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.1224, allocations: 140 kB / 369.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.1229, allocations: 96.52 kB / 369.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1362/0.2591, allocations: 1.007 MB / 370.8 MB, free: 25.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.2594, allocations: 0.799 MB / 371.6 MB, free: 24.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.2597, allocations: 43.44 kB / 371.6 MB, free: 24.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.2598, allocations: 34.88 kB / 371.6 MB, free: 24.78 MB / 302.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2598, allocations: 1.281 kB / 371.6 MB, free: 24.78 MB / 302.1 MB Notification: Performance of Templates: time 0.0114/0.2712, allocations: 5.241 MB / 376.9 MB, free: 24.65 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 cvode -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