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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001341, allocations: 120.9 kB / 18.41 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001454, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 247 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] 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=2000,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=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 51.91 kB / 358.7 MB, free: 8.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09292, allocations: 49.44 MB / 408.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004582/0.09754, allocations: 2.999 MB / 411.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.09983, allocations: 1.258 MB / 412.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.1, allocations: 7.938 kB / 412.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.1005, allocations: 147.2 kB / 412.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.1011, allocations: 170.9 kB / 412.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.1015, allocations: 182.9 kB / 412.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.1021, allocations: 430.1 kB / 413.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.1023, allocations: 95.47 kB / 413.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.1025, allocations: 179.3 kB / 413.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.1028, allocations: 187.2 kB / 413.7 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.1029, allocations: 32 kB / 413.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.103, allocations: 59.97 kB / 413.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1031, allocations: 75.7 kB / 413.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.1033, allocations: 187 kB / 414.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.1039, allocations: 450 kB / 414.5 MB, free: 428 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1039, allocations: 4 kB / 414.5 MB, free: 424 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1039, allocations: 0 / 414.5 MB, free: 424 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1039, allocations: 0 / 414.5 MB, free: 424 kB / 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.001157/0.1051, allocations: 0.6864 MB / 415.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1052, allocations: 8.031 kB / 415.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.827e-05/0.1053, allocations: 48.66 kB / 415.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.1058, allocations: 332 kB / 415.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.1058, allocations: 16.94 kB / 415.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.1058, allocations: 32.08 kB / 415.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.1064, allocations: 291.1 kB / 415.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1064, allocations: 0 / 415.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.1065, allocations: 12 kB / 415.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1065, allocations: 15.94 kB / 415.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.1068, allocations: 174.1 kB / 416.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.1081, allocations: 0.8368 MB / 416.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.1087, allocations: 263.4 kB / 417.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.1089, allocations: 97.38 kB / 417.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.109, allocations: 4.281 kB / 417.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.1093, allocations: 157.8 kB / 417.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.993e-06/0.1093, allocations: 11.94 kB / 417.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002416/0.1117, allocations: 1.31 MB / 418.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.1119, allocations: 195.9 kB / 419 MB, free: 11.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.1123, allocations: 320.6 kB / 419.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.1123, allocations: 37.7 kB / 419.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.1125, allocations: 184.7 kB / 419.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.1126, allocations: 146.7 kB / 419.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1128, allocations: 78.12 kB / 419.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.113, allocations: 342.8 kB / 420 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.1132, allocations: 88.83 kB / 420.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.1134, allocations: 181.2 kB / 420.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.1139, allocations: 254.2 kB / 420.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1139, allocations: 0 / 420.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006071/0.1145, allocations: 358.4 kB / 420.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1145, allocations: 8 kB / 420.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1145, allocations: 0 / 420.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.1146, allocations: 20.86 kB / 420.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.115, allocations: 92.02 kB / 421 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.1163, allocations: 1.402 MB / 422.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.1165, allocations: 12 kB / 422.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.1165, allocations: 12 kB / 422.4 MB, free: 7.867 MB / 350.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.0002188/0.1167, allocations: 170.2 kB / 422.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.1168, allocations: 39.77 kB / 422.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.924e-05/0.1169, allocations: 43.88 kB / 422.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1169, allocations: 8 kB / 422.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1169, allocations: 7.938 kB / 422.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007057/0.1176, allocations: 0.6611 MB / 423.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.119, allocations: 0.8492 MB / 424.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.119, allocations: 4 kB / 424.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.1193, allocations: 76.03 kB / 424.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.1193, allocations: 4 kB / 424.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.1194, allocations: 12 kB / 424.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1194, allocations: 0 / 424.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.1194, allocations: 7.984 kB / 424.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008086/0.1202, allocations: 0.5463 MB / 424.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.1204, allocations: 128.9 kB / 425 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.1204, allocations: 12 kB / 425 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1206, allocations: 15.98 kB / 425 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.1207, allocations: 23.97 kB / 425 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.1208, allocations: 16 kB / 425.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.121, allocations: 239 kB / 425.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1211, allocations: 0 / 425.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004013/0.1215, allocations: 95.94 kB / 425.4 MB, free: 4.699 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.001507/0.123, allocations: 438.9 kB / 425.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006862/0.1237, allocations: 363 kB / 426.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/0.1237, allocations: 12.19 kB / 426.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.1239, allocations: 135.7 kB / 426.3 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.1245, allocations: 92.28 kB / 426.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.1264, allocations: 1.069 MB / 427.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.1268, allocations: 0.7963 MB / 428.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.127, allocations: 35.44 kB / 428.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.127, allocations: 0 / 428.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of Templates: time 0.1978/0.3248, allocations: 5.701 MB / 434 MB, free: 21.46 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.09628060797695]