Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001455/0.001455, allocations: 84.81 kB / 22 MB, free: 5.176 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.001389/0.001389, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 59.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2753, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004839/0.2801, allocations: 2.791 MB / 351.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.2822, allocations: 1.138 MB / 352.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.2824, allocations: 7.938 kB / 352.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.2828, allocations: 171.1 kB / 352.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.2833, allocations: 186.9 kB / 352.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.2837, allocations: 139.7 kB / 352.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005938/0.2842, allocations: 453.8 kB / 353.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.2844, allocations: 76 kB / 353.4 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.2846, allocations: 183.3 kB / 353.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.2849, allocations: 183.1 kB / 353.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.285, allocations: 28 kB / 353.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.2851, allocations: 71.92 kB / 353.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.2852, allocations: 83.69 kB / 354 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.2854, allocations: 147.3 kB / 354.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.286, allocations: 472.4 kB / 354.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.286, allocations: 0 / 354.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.286, allocations: 4 kB / 354.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.286, allocations: 0 / 354.6 MB, free: 9.41 MB / 318.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.001054/0.2871, allocations: 0.6266 MB / 355.2 MB, free: 8.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2871, allocations: 11.98 kB / 355.2 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.084e-05/0.2872, allocations: 48.66 kB / 355.3 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.2876, allocations: 254.3 kB / 355.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.2877, allocations: 20.88 kB / 355.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.2877, allocations: 32.11 kB / 355.6 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006212/0.2883, allocations: 0.5131 MB / 356.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2884, allocations: 0 / 356.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.2884, allocations: 15.94 kB / 356.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2884, allocations: 8 kB / 356.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.2887, allocations: 173.9 kB / 356.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.29, allocations: 0.7116 MB / 357 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/0.2905, allocations: 239.9 kB / 357.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.2907, allocations: 97.38 kB / 357.3 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.2907, allocations: 4.281 kB / 357.3 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.2911, allocations: 271.7 kB / 357.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.2911, allocations: 3.938 kB / 357.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002298/0.2934, allocations: 1.098 MB / 358.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.2935, allocations: 191.9 kB / 358.9 MB, free: 4.793 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.2939, allocations: 348.5 kB / 359.2 MB, free: 4.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.294, allocations: 33.7 kB / 359.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.2941, allocations: 188.7 kB / 359.4 MB, free: 4.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.2942, allocations: 142.7 kB / 359.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.2943, allocations: 82.19 kB / 359.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2945, allocations: 346.8 kB / 360 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.2947, allocations: 92.95 kB / 360.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.2952, allocations: 310.4 kB / 360.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.2956, allocations: 246.2 kB / 360.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2956, allocations: 4 kB / 360.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006977/0.2963, allocations: 362.6 kB / 361 MB, free: 2.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2963, allocations: 4 kB / 361 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2963, allocations: 0 / 361 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.434e-05/0.2964, allocations: 28.83 kB / 361 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.2968, allocations: 91.84 kB / 361.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.298, allocations: 1.256 MB / 362.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.2982, allocations: 16.08 kB / 362.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.2982, allocations: 19.94 kB / 362.4 MB, free: 1.039 MB / 318.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.0002019/0.2984, allocations: 173.7 kB / 362.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.2985, allocations: 35.77 kB / 362.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.2991, allocations: 353.7 kB / 363 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2991, allocations: 4 kB / 363 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2991, allocations: 0 / 363 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007788/0.2999, allocations: 0.6724 MB / 363.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.3012, allocations: 0.7356 MB / 364.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3012, allocations: 4 kB / 364.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.3015, allocations: 79.84 kB / 364.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.3015, allocations: 7.938 kB / 364.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.3016, allocations: 11.98 kB / 364.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3016, allocations: 0 / 364.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3016, allocations: 8.125 kB / 364.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009383/0.3025, allocations: 0.5595 MB / 365 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.3027, allocations: 64.34 kB / 365.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3028, allocations: 15.94 kB / 365.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.303, allocations: 15.98 kB / 365.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.303, allocations: 23.95 kB / 365.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.3031, allocations: 16 kB / 365.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000287/0.3034, allocations: 251 kB / 365.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3034, allocations: 3.938 kB / 365.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004129/0.3038, allocations: 96 kB / 365.5 MB, free: 13.73 MB / 334.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.001693/0.3055, allocations: 460.4 kB / 366 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008257/0.3063, allocations: 365.8 kB / 366.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3063, allocations: 7.938 kB / 366.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.3065, allocations: 132.6 kB / 366.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.3072, allocations: 104.9 kB / 366.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.3089, allocations: 1.039 MB / 367.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.3091, allocations: 199.7 kB / 367.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.3092, allocations: 51.23 kB / 367.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.3093, allocations: 32.5 kB / 367.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3093, allocations: 0 / 367.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of Templates: time 0.01153/0.3209, allocations: 5.523 MB / 373.4 MB, free: 5.75 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.721128021948971]