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.001631/0.001631, allocations: 117.4 kB / 19.18 MB, free: 3.871 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.001821/0.001821, allocations: 206.5 kB / 22.13 MB, free: 0.9258 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.448/1.448, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.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.002004/0.002004, allocations: 63.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1025, allocations: 53.32 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004898/0.1074, allocations: 3.035 MB / 430.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.11, allocations: 1.425 MB / 432.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.1102, allocations: 7.938 kB / 432.3 MB, free: 8 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1945/0.3048, allocations: 137.9 kB / 432.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008137/0.3056, allocations: 212.6 kB / 432.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.306, allocations: 146.6 kB / 432.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.3066, allocations: 436.4 kB / 433.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3067, allocations: 77.92 kB / 433.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.3069, allocations: 182.4 kB / 433.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.3072, allocations: 190.3 kB / 433.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.3072, allocations: 29.56 kB / 433.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3074, allocations: 53.88 kB / 433.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.3074, allocations: 82.48 kB / 433.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.3076, allocations: 191.6 kB / 434 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.308, allocations: 453 kB / 434.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.308, allocations: 0.6562 kB / 434.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3081, allocations: 0.875 kB / 434.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3081, allocations: 1.094 kB / 434.4 MB, free: 7.824 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.0009506/0.309, allocations: 0.695 MB / 435.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3091, allocations: 8.75 kB / 435.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.3091, allocations: 48.09 kB / 435.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.3096, allocations: 327.9 kB / 435.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.3096, allocations: 22.12 kB / 435.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.3097, allocations: 26.25 kB / 435.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.3101, allocations: 294.5 kB / 435.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.3101, allocations: 10.16 kB / 435.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.3102, allocations: 10.25 kB / 435.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3102, allocations: 5.75 kB / 435.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.3105, allocations: 178.9 kB / 436 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.3116, allocations: 0.8395 MB / 436.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.3122, allocations: 248.6 kB / 437.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.3123, allocations: 93.75 kB / 437.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.3124, allocations: 4.391 kB / 437.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.3126, allocations: 158.8 kB / 437.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.983e-06/0.3126, allocations: 0.8438 kB / 437.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002067/0.3147, allocations: 1.325 MB / 438.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.3148, allocations: 186.9 kB / 438.9 MB, free: 5.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.3151, allocations: 334 kB / 439.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.3151, allocations: 35.33 kB / 439.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3153, allocations: 187.3 kB / 439.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.3153, allocations: 144.4 kB / 439.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.3154, allocations: 73.23 kB / 439.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.3155, allocations: 352.1 kB / 440 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.3157, allocations: 89.89 kB / 440.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.3159, allocations: 185.2 kB / 440.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.3162, allocations: 250.8 kB / 440.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3162, allocations: 0 / 440.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005046/0.3167, allocations: 352.5 kB / 440.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3167, allocations: 13.53 kB / 440.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3168, allocations: 2.062 kB / 440.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.811e-05/0.3168, allocations: 21.23 kB / 440.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.3172, allocations: 91.55 kB / 441 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007742/0.318, allocations: 1.383 MB / 442.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.3181, allocations: 15.02 kB / 442.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.3182, allocations: 13.98 kB / 442.4 MB, free: 2.957 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.0001519/0.3183, allocations: 174.5 kB / 442.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.3184, allocations: 41.5 kB / 442.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.3184, allocations: 44.83 kB / 442.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3185, allocations: 4.734 kB / 442.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3185, allocations: 0 / 442.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004842/0.3189, allocations: 0.6625 MB / 443.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.32, allocations: 0.8547 MB / 444.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.32, allocations: 5.156 kB / 444.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.3203, allocations: 76.58 kB / 444.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3203, allocations: 4.031 kB / 444.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.3204, allocations: 8.328 kB / 444.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3204, allocations: 3.516 kB / 444.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3204, allocations: 1.094 kB / 444.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.3211, allocations: 0.5488 MB / 444.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.3212, allocations: 140.9 kB / 444.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.3213, allocations: 10.02 kB / 444.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.3215, allocations: 17.83 kB / 445 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.3215, allocations: 25.11 kB / 445 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.3216, allocations: 14.88 kB / 445 MB, free: 1.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.3218, allocations: 241.7 kB / 445.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3218, allocations: 0 / 445.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.3222, allocations: 94.58 kB / 445.3 MB, free: 0.9531 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.001438/0.3236, allocations: 432.4 kB / 445.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.3242, allocations: 355.7 kB / 446.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3242, allocations: 1.188 kB / 446.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.3244, allocations: 124 kB / 446.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.3249, allocations: 102.9 kB / 446.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.3265, allocations: 1.076 MB / 447.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.327, allocations: 0.8038 MB / 448.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.3271, allocations: 40.52 kB / 448.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3271, allocations: 0 / 448.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of Templates: time 0.009626/0.3367, allocations: 5.798 MB / 454 MB, free: 14.19 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 -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: 7.933754593017511]