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.005126/0.005126, allocations: 103.4 kB / 21.97 MB, free: 5.211 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.001354/0.001354, allocations: 220 kB / 25.29 MB, free: 3.215 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.441/1.441, allocations: 230.6 MB / 259 MB, free: 8.008 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.002/0.002, allocations: 67.89 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2672, allocations: 53.38 MB / 433.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005085/0.2723, allocations: 3.052 MB / 436.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.2751, allocations: 1.437 MB / 437.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.2753, allocations: 11.88 kB / 437.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.2759, allocations: 143.1 kB / 437.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000603/0.2765, allocations: 218.7 kB / 438 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.2768, allocations: 143.6 kB / 438.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000579/0.2774, allocations: 442.1 kB / 438.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.2776, allocations: 77.02 kB / 438.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.2779, allocations: 179.3 kB / 438.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.2782, allocations: 203.1 kB / 439 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.2782, allocations: 28 kB / 439.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.2784, allocations: 55.98 kB / 439.1 MB, free: 1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2785, allocations: 79.7 kB / 439.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.2787, allocations: 190.9 kB / 439.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006107/0.2793, allocations: 455.2 kB / 439.8 MB, free: 300 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.147e-05/0.2793, allocations: 4 kB / 439.8 MB, free: 296 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2793, allocations: 3.938 kB / 439.8 MB, free: 292 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.2794, allocations: 4 kB / 439.8 MB, free: 288 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.001137/0.2805, allocations: 0.611 MB / 440.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2805, allocations: 8.031 kB / 440.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.2806, allocations: 48.66 kB / 440.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.2811, allocations: 270.8 kB / 440.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.2812, allocations: 16.88 kB / 440.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.2812, allocations: 36.12 kB / 440.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.2818, allocations: 290.1 kB / 441.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2818, allocations: 3.938 kB / 441.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.2818, allocations: 12 kB / 441.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.2819, allocations: 8 kB / 441.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.2822, allocations: 177.9 kB / 441.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.2837, allocations: 0.8043 MB / 442.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.2843, allocations: 247.4 kB / 442.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.2845, allocations: 86.23 kB / 442.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.2845, allocations: 8.281 kB / 442.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003382/0.2848, allocations: 165.7 kB / 442.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.424e-06/0.2849, allocations: 0 / 442.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002462/0.2873, allocations: 1.107 MB / 443.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.2875, allocations: 183.9 kB / 443.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.2879, allocations: 332.5 kB / 444.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.2879, allocations: 41.7 kB / 444.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.2881, allocations: 184.7 kB / 444.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.2882, allocations: 146.8 kB / 444.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.2883, allocations: 70.14 kB / 444.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.2885, allocations: 346.8 kB / 445 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.2887, allocations: 92.83 kB / 445.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.289, allocations: 177.3 kB / 445.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.2894, allocations: 250.2 kB / 445.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2894, allocations: 4 kB / 445.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006372/0.2901, allocations: 358.4 kB / 445.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2901, allocations: 4 kB / 445.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2901, allocations: 3.984 kB / 445.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001074/0.2902, allocations: 20.86 kB / 445.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.2906, allocations: 91.83 kB / 446 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.2919, allocations: 1.295 MB / 447.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.2921, allocations: 12.03 kB / 447.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.2921, allocations: 12 kB / 447.3 MB, free: 8.367 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.0002392/0.2924, allocations: 169.7 kB / 447.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.2924, allocations: 43.7 kB / 447.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006368/0.2931, allocations: 334.2 kB / 447.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2931, allocations: 4 kB / 447.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2931, allocations: 11.94 kB / 447.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007454/0.2938, allocations: 0.6576 MB / 448.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.2951, allocations: 0.8219 MB / 449.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2951, allocations: 0 / 449.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.2955, allocations: 76.03 kB / 449.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.2955, allocations: 8 kB / 449.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.2955, allocations: 8 kB / 449.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2955, allocations: 0 / 449.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.2955, allocations: 4 kB / 449.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008574/0.2964, allocations: 0.551 MB / 450 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.2965, allocations: 59.8 kB / 450 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.2966, allocations: 8 kB / 450 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.2968, allocations: 19.98 kB / 450 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.2969, allocations: 23.95 kB / 450.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.2969, allocations: 12 kB / 450.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002734/0.2972, allocations: 243 kB / 450.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2972, allocations: 8 kB / 450.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.2976, allocations: 95.88 kB / 450.4 MB, free: 5.02 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.001575/0.2992, allocations: 422.1 kB / 450.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007995/0.3, allocations: 355.4 kB / 451.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3, allocations: 4.188 kB / 451.2 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.3003, allocations: 131.7 kB / 451.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.3009, allocations: 88.97 kB / 451.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.303, allocations: 1.073 MB / 452.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.3035, allocations: 0.8039 MB / 453.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3036, allocations: 35.44 kB / 453.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3036, allocations: 0 / 453.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Templates: time 0.01209/0.3157, allocations: 5.815 MB / 459.1 MB, free: 12.41 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/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-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: 8.035919481888413]