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.001643/0.001643, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001725/0.001725, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 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 2.332/2.332, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 177] 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 0.001847/0.001847, allocations: 47.92 kB / 378.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.5542, allocations: 53.38 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.01235/0.5665, allocations: 2.824 MB / 435.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.5695, allocations: 1.34 MB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.5697, allocations: 7.938 kB / 436.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.5702, allocations: 135.2 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006285/0.5708, allocations: 222.7 kB / 436.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.5712, allocations: 143.6 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006348/0.5718, allocations: 442 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006292/0.5781, allocations: 79.97 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005727/0.5838, allocations: 183.3 kB / 437.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.5842, allocations: 187.2 kB / 437.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.5843, allocations: 32 kB / 437.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.5844, allocations: 55.98 kB / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.5846, allocations: 87.61 kB / 438 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.5848, allocations: 155.2 kB / 438.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006791/0.5854, allocations: 465.8 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5854, allocations: 3.938 kB / 438.6 MB, free: 420 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5854, allocations: 0 / 438.6 MB, free: 420 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.5855, allocations: 0 / 438.6 MB, free: 420 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.001352/0.5868, allocations: 0.6149 MB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.5869, allocations: 8.031 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.587, allocations: 52.66 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.5876, allocations: 258.3 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.5876, allocations: 16.88 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/0.5877, allocations: 32.12 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008059/0.5885, allocations: 0.5131 MB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.5885, allocations: 0 / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.5886, allocations: 12 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.5886, allocations: 4 kB / 440.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.589, allocations: 177.9 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.5907, allocations: 0.7113 MB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/0.5943, allocations: 247.8 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.5946, allocations: 90.23 kB / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.5946, allocations: 4.281 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004436/0.595, allocations: 264.6 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.225e-06/0.595, allocations: 4 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.009456/0.6045, allocations: 1.111 MB / 442.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.6046, allocations: 187.9 kB / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.6051, allocations: 332.5 kB / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.6052, allocations: 41.64 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.6053, allocations: 192.7 kB / 443.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.6055, allocations: 146.7 kB / 443.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.6056, allocations: 78.06 kB / 443.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.6058, allocations: 350.8 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.6061, allocations: 88.84 kB / 444.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.6065, allocations: 309.8 kB / 444.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.607, allocations: 254.2 kB / 444.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.607, allocations: 0 / 444.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000814/0.6078, allocations: 362.4 kB / 445 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6079, allocations: 4 kB / 445 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6079, allocations: 4.062 kB / 445 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.88e-05/0.608, allocations: 20.86 kB / 445.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.6084, allocations: 91.89 kB / 445.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.6099, allocations: 1.26 MB / 446.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.6101, allocations: 12.03 kB / 446.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.6101, allocations: 15.94 kB / 446.4 MB, free: 8.062 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.0002428/0.6104, allocations: 169.7 kB / 446.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.6105, allocations: 39.77 kB / 446.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008024/0.6113, allocations: 338.1 kB / 447 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.6113, allocations: 15.98 kB / 447 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.6113, allocations: 0 / 447 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009371/0.6206, allocations: 0.6644 MB / 447.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.6222, allocations: 0.732 MB / 448.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.6222, allocations: 4 kB / 448.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.6227, allocations: 79.83 kB / 448.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.6227, allocations: 4 kB / 448.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.6227, allocations: 16.12 kB / 448.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/0.6227, allocations: 3.938 kB / 448.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6227, allocations: 4 kB / 448.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.6238, allocations: 0.5509 MB / 449 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.624, allocations: 63.73 kB / 449.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/0.6241, allocations: 11.98 kB / 449.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.6244, allocations: 16.12 kB / 449.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.6245, allocations: 31.89 kB / 449.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.6245, allocations: 15.98 kB / 449.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003478/0.6249, allocations: 243.1 kB / 449.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6249, allocations: 3.938 kB / 449.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006074/0.6255, allocations: 99.94 kB / 449.5 MB, free: 4.777 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 (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.001904/0.6274, allocations: 449.1 kB / 450 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008836/0.6283, allocations: 362.3 kB / 450.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6283, allocations: 256 / 450.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.6286, allocations: 132.4 kB / 450.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/0.6294, allocations: 96 kB / 450.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.6428, allocations: 1.039 MB / 451.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.6431, allocations: 203.7 kB / 451.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000256/0.6433, allocations: 43.27 kB / 451.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.6434, allocations: 39.42 kB / 451.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6434, allocations: 3.938 kB / 451.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Templates: time 0.02224/0.6657, allocations: 6.084 MB / 457.9 MB, free: 12.57 MB / 366.1 MB " [Timeout remaining time 659] 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 -s cvode -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/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_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: 7.53992835500685]