Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.895e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004636/0.004665, allocations: 2.83 MB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.007317, allocations: 1.347 MB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.007461, allocations: 7.938 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.007938, allocations: 143.1 kB / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005611/0.008499, allocations: 214.6 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.008836, allocations: 147.5 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008037/0.009639, allocations: 461.8 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.009814, allocations: 68.31 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.01016, allocations: 255.4 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.01042, allocations: 147.6 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.816e-05/0.01048, allocations: 28 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.01062, allocations: 67.86 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.01074, allocations: 83.67 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.01091, allocations: 123.6 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.01156, allocations: 462.4 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01156, allocations: 4 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01156, allocations: 0 / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.01157, allocations: 0 / 278.6 MB, free: 11.47 MB / 266.7 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.001159/0.01273, allocations: 0.6072 MB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.01276, allocations: 8.031 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.0129, allocations: 68.66 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.01339, allocations: 265.6 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.01343, allocations: 24.81 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.01349, allocations: 28.38 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.01422, allocations: 0.5176 MB / 280.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.01424, allocations: 3.938 kB / 280.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.01427, allocations: 12 kB / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01428, allocations: 4 kB / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.01465, allocations: 177.9 kB / 280.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.01606, allocations: 0.7116 MB / 281.1 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.01667, allocations: 252.5 kB / 281.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.01687, allocations: 90.23 kB / 281.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.0169, allocations: 8.281 kB / 281.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.01732, allocations: 268.6 kB / 281.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/0.01732, allocations: 0 / 281.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002538/0.01985, allocations: 1.111 MB / 282.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.02, allocations: 183.9 kB / 283 MB, free: 6.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.02042, allocations: 340.4 kB / 283.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.02046, allocations: 33.7 kB / 283.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.02064, allocations: 192.7 kB / 283.5 MB, free: 6.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.02079, allocations: 150.7 kB / 283.7 MB, free: 6.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.02091, allocations: 70.2 kB / 283.7 MB, free: 6.031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004321/0.02134, allocations: 342.8 kB / 284.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.02155, allocations: 92.95 kB / 284.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.02193, allocations: 310.4 kB / 284.5 MB, free: 5.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.02239, allocations: 250.2 kB / 284.7 MB, free: 4.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.02239, allocations: 0 / 284.7 MB, free: 4.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006885/0.02308, allocations: 378.5 kB / 285.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.02309, allocations: 4 kB / 285.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.02311, allocations: 12 kB / 285.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.581e-05/0.0232, allocations: 20.84 kB / 285.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.02356, allocations: 91.84 kB / 285.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.02492, allocations: 1.264 MB / 286.5 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.02511, allocations: 12 kB / 286.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.02514, allocations: 12 kB / 286.5 MB, free: 3.078 MB / 266.7 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.000209/0.02535, allocations: 169.7 kB / 286.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.962e-05/0.02544, allocations: 55.7 kB / 286.7 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006986/0.02614, allocations: 341.9 kB / 287 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.02614, allocations: 4 kB / 287 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.02614, allocations: 4.125 kB / 287 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007894/0.02693, allocations: 0.6645 MB / 287.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.02819, allocations: 0.7396 MB / 288.4 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.0282, allocations: 0 / 288.4 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.02854, allocations: 83.89 kB / 288.5 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.02855, allocations: 0 / 288.5 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.02857, allocations: 12 kB / 288.5 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.02859, allocations: 12.06 kB / 288.6 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.02859, allocations: 0 / 288.6 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/0.02951, allocations: 0.5669 MB / 289.1 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.02965, allocations: 59.78 kB / 289.2 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.0297, allocations: 8 kB / 289.2 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.02995, allocations: 28 kB / 289.2 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.03002, allocations: 27.95 kB / 289.2 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.03005, allocations: 12 kB / 289.3 MB, free: 104 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003062/0.03036, allocations: 247 kB / 289.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03036, allocations: 4 kB / 289.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004245/0.03078, allocations: 88 kB / 289.6 MB, free: 15.77 MB / 282.7 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.001984/0.03277, allocations: 454.9 kB / 290 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.03348, allocations: 366 kB / 290.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.03348, allocations: 0 / 290.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.03375, allocations: 128.3 kB / 290.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.03434, allocations: 97.14 kB / 290.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.03621, allocations: 0.9092 MB / 291.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.03644, allocations: 199.7 kB / 291.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.03661, allocations: 43.27 kB / 291.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.03672, allocations: 40.48 kB / 291.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.03672, allocations: 0 / 291.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of Templates: time 0.01205/0.04877, allocations: 5.567 MB / 297.4 MB, free: 8.219 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.545635538059287]