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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001834/0.001834, allocations: 75.67 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 161.5 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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=2000,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=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 57.56 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/0.09654, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004481/0.101, allocations: 2.83 MB / 381.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.1034, allocations: 1.347 MB / 383.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1036, allocations: 7.938 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.104, allocations: 143.1 kB / 383.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005271/0.1045, allocations: 218.8 kB / 383.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.1048, allocations: 143.6 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005336/0.1054, allocations: 438.1 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1055, allocations: 76.2 kB / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.1058, allocations: 183.3 kB / 384.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.106, allocations: 163.2 kB / 384.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.713e-05/0.1061, allocations: 32 kB / 384.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.1062, allocations: 67.92 kB / 384.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1063, allocations: 79.69 kB / 384.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.1065, allocations: 155.2 kB / 384.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.1071, allocations: 454.1 kB / 385.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1071, allocations: 4 kB / 385.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1071, allocations: 0 / 385.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1071, allocations: 0 / 385.2 MB, free: 9.152 MB / 350.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.00109/0.1082, allocations: 0.6188 MB / 385.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1082, allocations: 15.98 kB / 385.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.395e-05/0.1083, allocations: 48.64 kB / 385.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.1087, allocations: 258.3 kB / 386.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.1088, allocations: 16.88 kB / 386.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.1088, allocations: 28.36 kB / 386.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.1095, allocations: 0.5173 MB / 386.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.1095, allocations: 8 kB / 386.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1095, allocations: 16 kB / 386.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.1095, allocations: 4 kB / 386.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003505/0.1099, allocations: 173.9 kB / 386.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.1112, allocations: 0.7038 MB / 387.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.1118, allocations: 246 kB / 387.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.112, allocations: 93.94 kB / 387.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.112, allocations: 8.281 kB / 387.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003853/0.1124, allocations: 269.2 kB / 388.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.003e-06/0.1124, allocations: 3.938 kB / 388.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002384/0.1148, allocations: 1.115 MB / 389.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.1149, allocations: 187.9 kB / 389.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.1153, allocations: 336.5 kB / 389.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.1153, allocations: 29.7 kB / 389.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.1155, allocations: 196.7 kB / 390 MB, free: 3.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.1156, allocations: 138.8 kB / 390.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.1157, allocations: 74.19 kB / 390.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1159, allocations: 350.8 kB / 390.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.1161, allocations: 84.97 kB / 390.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.1164, allocations: 310.4 kB / 391 MB, free: 2.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.1169, allocations: 254.2 kB / 391.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1169, allocations: 3.938 kB / 391.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006282/0.1175, allocations: 362.5 kB / 391.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1175, allocations: 7.938 kB / 391.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1175, allocations: 0 / 391.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.001e-05/0.1176, allocations: 24.84 kB / 391.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.118, allocations: 95.95 kB / 391.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.1192, allocations: 1.26 MB / 393 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.1193, allocations: 12 kB / 393 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.1194, allocations: 12 kB / 393 MB, free: 0.793 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.0002033/0.1196, allocations: 169.7 kB / 393.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.1196, allocations: 43.92 kB / 393.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006561/0.1203, allocations: 342 kB / 393.5 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.1203, allocations: 4 kB / 393.5 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.1203, allocations: 0 / 393.5 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007409/0.1211, allocations: 0.6685 MB / 394.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.1223, allocations: 0.7242 MB / 394.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.1223, allocations: 3.938 kB / 394.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.1226, allocations: 88.02 kB / 395 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1226, allocations: 0 / 395 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.1227, allocations: 11.94 kB / 395 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1227, allocations: 4 kB / 395 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1227, allocations: 0 / 395 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.1235, allocations: 0.5586 MB / 395.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.1237, allocations: 59.8 kB / 395.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.1237, allocations: 12.06 kB / 395.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.124, allocations: 23.98 kB / 395.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.124, allocations: 27.95 kB / 395.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.1241, allocations: 15.98 kB / 395.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002717/0.1243, allocations: 243 kB / 396 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1243, allocations: 3.938 kB / 396 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004121/0.1247, allocations: 95.94 kB / 396.1 MB, free: 13.52 MB / 366.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 (41): * Single equations (assignments): 39 * 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.001669/0.1264, allocations: 435.6 kB / 396.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006918/0.1271, allocations: 363.1 kB / 396.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.1271, allocations: 3.938 kB / 396.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.1273, allocations: 128.5 kB / 397 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.1279, allocations: 107.9 kB / 397.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1297, allocations: 1.039 MB / 398.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1299, allocations: 203.7 kB / 398.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.13, allocations: 43.27 kB / 398.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.1301, allocations: 32.5 kB / 398.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1301, allocations: 0 / 398.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01191/0.142, allocations: 5.574 MB / 404 MB, free: 5.797 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.474717209930532]