Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001504/0.001504, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001657/0.001657, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.389/1.389, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 75.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2362, allocations: 53.31 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004728/0.241, allocations: 3.06 MB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.2434, allocations: 1.43 MB / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.2436, allocations: 4 kB / 436.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.244, allocations: 143.1 kB / 436.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005145/0.2445, allocations: 214.7 kB / 436.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.2449, allocations: 143.6 kB / 437 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.2455, allocations: 438.1 kB / 437.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.2457, allocations: 79.8 kB / 437.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.246, allocations: 183.3 kB / 437.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.2462, allocations: 191.2 kB / 437.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.2463, allocations: 28 kB / 437.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.2464, allocations: 59.92 kB / 438 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.2465, allocations: 83.69 kB / 438.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.2467, allocations: 190.9 kB / 438.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005584/0.2473, allocations: 452.1 kB / 438.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2473, allocations: 0 / 438.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2473, allocations: 0 / 438.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.2473, allocations: 3.938 kB / 438.7 MB, free: 0.6953 MB / 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.00111/0.2484, allocations: 0.6942 MB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.2484, allocations: 8.031 kB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.2485, allocations: 48.66 kB / 439.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.249, allocations: 328.6 kB / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.249, allocations: 24.88 kB / 439.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.2491, allocations: 32.12 kB / 439.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.2495, allocations: 295.1 kB / 440.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2495, allocations: 0 / 440.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.2496, allocations: 12 kB / 440.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2496, allocations: 8 kB / 440.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.2499, allocations: 182.1 kB / 440.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.2512, allocations: 0.8367 MB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.2517, allocations: 247.4 kB / 441.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.2519, allocations: 93.38 kB / 441.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.2519, allocations: 4.281 kB / 441.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.2522, allocations: 158.6 kB / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.834e-06/0.2522, allocations: 0 / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002392/0.2546, allocations: 1.332 MB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.2547, allocations: 187.9 kB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.2551, allocations: 332.6 kB / 443.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.2551, allocations: 37.7 kB / 443.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.2553, allocations: 184.8 kB / 443.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.2554, allocations: 150.7 kB / 443.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.2555, allocations: 78.12 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2557, allocations: 346.8 kB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.2559, allocations: 88.83 kB / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.2561, allocations: 177.3 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.2565, allocations: 246.3 kB / 444.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2565, allocations: 8 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000603/0.2571, allocations: 354.6 kB / 445.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2571, allocations: 8 kB / 445.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2571, allocations: 0 / 445.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.631e-05/0.2572, allocations: 20.84 kB / 445.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.2576, allocations: 95.83 kB / 445.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.2588, allocations: 1.387 MB / 446.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.259, allocations: 15.98 kB / 446.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.259, allocations: 12 kB / 446.6 MB, free: 8.16 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.0002129/0.2592, allocations: 165.8 kB / 446.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.2593, allocations: 47.69 kB / 446.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005923/0.2599, allocations: 338.4 kB / 447.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2599, allocations: 4 kB / 447.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2599, allocations: 8 kB / 447.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006766/0.2606, allocations: 0.657 MB / 447.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.2618, allocations: 0.8466 MB / 448.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2618, allocations: 3.938 kB / 448.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.2621, allocations: 76.03 kB / 448.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2621, allocations: 8 kB / 448.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.2621, allocations: 11.98 kB / 448.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2621, allocations: 4 kB / 448.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2621, allocations: 0 / 448.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/0.263, allocations: 0.5588 MB / 449.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.2631, allocations: 137 kB / 449.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.2632, allocations: 16 kB / 449.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.2634, allocations: 12 kB / 449.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.2635, allocations: 27.95 kB / 449.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.2635, allocations: 16 kB / 449.6 MB, free: 5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002624/0.2637, allocations: 235.1 kB / 449.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2637, allocations: 4 kB / 449.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004133/0.2642, allocations: 99.92 kB / 449.9 MB, free: 4.668 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.001464/0.2656, allocations: 423.3 kB / 450.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000703/0.2663, allocations: 354.4 kB / 450.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2663, allocations: 256 / 450.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.2666, allocations: 127.8 kB / 450.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.2671, allocations: 95.73 kB / 450.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.2689, allocations: 1.082 MB / 451.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.2694, allocations: 0.8079 MB / 452.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-05/0.2695, allocations: 35.44 kB / 452.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2695, allocations: 0 / 452.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of Templates: time 0.00901/0.2785, allocations: 5.793 MB / 458.6 MB, free: 12.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.551712827757001]