Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 194.1 kB / 22.75 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 51.92 kB / 369.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2723, allocations: 52.14 MB / 421.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005322/0.2776, allocations: 3.031 MB / 424.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.2809, allocations: 1.262 MB / 425.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.2811, allocations: 4 kB / 425.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006863/0.2818, allocations: 151.1 kB / 425.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.2823, allocations: 170.9 kB / 425.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.2829, allocations: 178.2 kB / 426.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.2835, allocations: 434.1 kB / 426.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.2837, allocations: 79.48 kB / 426.6 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.2839, allocations: 179.3 kB / 426.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.2843, allocations: 191.2 kB / 426.9 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.2843, allocations: 28 kB / 427 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.2845, allocations: 59.98 kB / 427 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.2846, allocations: 79.69 kB / 427.1 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.2848, allocations: 187 kB / 427.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000591/0.2854, allocations: 443.4 kB / 427.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2854, allocations: 0 / 427.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2854, allocations: 3.938 kB / 427.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.2854, allocations: 0 / 427.7 MB, free: 8.734 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.001118/0.2865, allocations: 0.698 MB / 428.4 MB, free: 7.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2866, allocations: 8.031 kB / 428.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/0.2867, allocations: 44.66 kB / 428.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.2871, allocations: 324.2 kB / 428.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.2872, allocations: 16.94 kB / 428.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/0.2872, allocations: 32.08 kB / 428.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.2879, allocations: 295.1 kB / 429.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.2879, allocations: 0 / 429.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.2879, allocations: 20 kB / 429.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2879, allocations: 4 kB / 429.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/0.2883, allocations: 182.1 kB / 429.3 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.2897, allocations: 0.8329 MB / 430.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.2902, allocations: 243.4 kB / 430.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.2904, allocations: 93.38 kB / 430.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.2905, allocations: 4.281 kB / 430.5 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003191/0.2908, allocations: 162.6 kB / 430.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 3.496e-06/0.2908, allocations: 7.984 kB / 430.6 MB, free: 5.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002605/0.2934, allocations: 1.303 MB / 431.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.2935, allocations: 191.9 kB / 432.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005291/0.294, allocations: 332.5 kB / 432.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.2941, allocations: 37.64 kB / 432.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.2943, allocations: 184.7 kB / 432.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2944, allocations: 142.8 kB / 432.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.2946, allocations: 74.12 kB / 432.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2947, allocations: 350.8 kB / 433.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.2949, allocations: 80.84 kB / 433.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.2952, allocations: 189.2 kB / 433.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.2956, allocations: 246.2 kB / 433.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2956, allocations: 4 kB / 433.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006101/0.2962, allocations: 358.4 kB / 434.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2962, allocations: 4 kB / 434.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.2962, allocations: 4 kB / 434.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.369e-05/0.2963, allocations: 20.98 kB / 434.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.2967, allocations: 91.89 kB / 434.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.2981, allocations: 1.386 MB / 435.6 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.2984, allocations: 16.03 kB / 435.6 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.2984, allocations: 15.98 kB / 435.6 MB, free: 232 kB / 334.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.0002239/0.2986, allocations: 166.2 kB / 435.8 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.2987, allocations: 47.7 kB / 435.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000694/0.2994, allocations: 346.5 kB / 436.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2994, allocations: 4 kB / 436.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2994, allocations: 4 kB / 436.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006827/0.3001, allocations: 0.6531 MB / 436.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.3013, allocations: 0.8375 MB / 437.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3013, allocations: 8.031 kB / 437.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.3017, allocations: 79.89 kB / 437.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3017, allocations: 0 / 437.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.3017, allocations: 8 kB / 437.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3017, allocations: 4 kB / 437.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3017, allocations: 0 / 437.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.3025, allocations: 0.547 MB / 438.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3027, allocations: 136.9 kB / 438.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.3027, allocations: 12 kB / 438.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.303, allocations: 15.98 kB / 438.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.303, allocations: 27.95 kB / 438.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.3031, allocations: 20 kB / 438.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.3033, allocations: 235 kB / 438.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3033, allocations: 0 / 438.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004377/0.3037, allocations: 107.8 kB / 438.9 MB, free: 12.76 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.001509/0.3053, allocations: 412.6 kB / 439.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007142/0.306, allocations: 366.5 kB / 439.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.306, allocations: 0 / 439.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.3062, allocations: 123.7 kB / 439.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.3068, allocations: 100.3 kB / 439.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.3086, allocations: 1.075 MB / 440.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.3091, allocations: 0.7963 MB / 441.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3092, allocations: 43.42 kB / 441.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3092, allocations: 0 / 441.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of Templates: time 0.009576/0.3188, allocations: 5.709 MB / 447.5 MB, free: 4.246 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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