Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001386/0.001386, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001612/0.001612, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 258.2 MB, free: 7.785 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+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.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 51.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2499, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0288/0.2787, allocations: 24.56 MB / 456.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005171/0.2839, allocations: 3.766 MB / 460.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.2842, allocations: 7.938 kB / 460.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006696/0.2848, allocations: 194.8 kB / 460.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007064/0.2855, allocations: 346.1 kB / 461.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004156/0.2897, allocations: 1.455 MB / 462.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.2909, allocations: 0.8951 MB / 463.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.2911, allocations: 76.83 kB / 463.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006512/0.2976, allocations: 4.135 MB / 467.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.2981, allocations: 274.9 kB / 468 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.2981, allocations: 32 kB / 468.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.2996, allocations: 0.6985 MB / 468.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2997, allocations: 99.66 kB / 468.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.2999, allocations: 163.4 kB / 469 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.3012, allocations: 0.8531 MB / 469.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3012, allocations: 0 / 469.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3013, allocations: 4 kB / 469.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3013, allocations: 0 / 469.9 MB, free: 1.074 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001003/0.3023, allocations: 0.5867 MB / 470.5 MB, free: 468 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3023, allocations: 12.03 kB / 470.5 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004612/0.3028, allocations: 56.72 kB / 470.5 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.3033, allocations: 225.9 kB / 470.8 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3033, allocations: 25.03 kB / 470.8 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.3033, allocations: 32.38 kB / 470.8 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.304, allocations: 493.9 kB / 471.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.304, allocations: 11.92 kB / 471.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.304, allocations: 12 kB / 471.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.3041, allocations: 4 kB / 471.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.3044, allocations: 213.7 kB / 471.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.3167, allocations: 4.087 MB / 475.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.3171, allocations: 170.6 kB / 475.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.3172, allocations: 80.78 kB / 475.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/0.3273, allocations: 2.688 MB / 478.5 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.3274, allocations: 38.56 kB / 478.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.3274, allocations: 0 / 478.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006202/0.3336, allocations: 1.271 MB / 479.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3336, allocations: 55.41 kB / 479.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.3339, allocations: 232 kB / 480.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.3339, allocations: 33.7 kB / 480.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3341, allocations: 192.3 kB / 480.4 MB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.742e-05/0.3342, allocations: 95.17 kB / 480.4 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.3343, allocations: 65.69 kB / 480.5 MB, free: 6.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3344, allocations: 338.8 kB / 480.8 MB, free: 5.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.3346, allocations: 87.97 kB / 480.9 MB, free: 5.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.3349, allocations: 186.9 kB / 481.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.3353, allocations: 307 kB / 481.4 MB, free: 5.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3353, allocations: 0 / 481.4 MB, free: 5.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007263/0.336, allocations: 395.1 kB / 481.8 MB, free: 4.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3361, allocations: 8.062 kB / 481.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3361, allocations: 4 kB / 481.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004016/0.3401, allocations: 0.9415 MB / 482.8 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.3404, allocations: 67.84 kB / 482.8 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.3421, allocations: 1.848 MB / 484.7 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.3423, allocations: 8.219 kB / 484.7 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.3424, allocations: 20 kB / 484.7 MB, free: 1.738 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002417/0.3426, allocations: 157.7 kB / 484.8 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.3427, allocations: 27.8 kB / 484.9 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008137/0.3435, allocations: 499 kB / 485.4 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.3435, allocations: 7.984 kB / 485.4 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3435, allocations: 4 kB / 485.4 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000738/0.3442, allocations: 0.7276 MB / 486.1 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.3456, allocations: 0.8441 MB / 486.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3456, allocations: 0 / 486.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.3458, allocations: 43.98 kB / 487 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/0.3475, allocations: 320.4 kB / 487.3 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.3475, allocations: 8 kB / 487.3 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000579/0.3481, allocations: 0.6499 MB / 488 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3481, allocations: 4.031 kB / 488 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.3492, allocations: 0.729 MB / 488.7 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.3492, allocations: 31.77 kB / 488.7 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.3493, allocations: 11.94 kB / 488.7 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.3494, allocations: 4 kB / 488.7 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3495, allocations: 15.97 kB / 488.8 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.3495, allocations: 15.98 kB / 488.8 MB, free: 13.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.3497, allocations: 165.6 kB / 488.9 MB, free: 13.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3497, allocations: 0 / 488.9 MB, free: 13.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006997/0.3504, allocations: 183.9 kB / 489.1 MB, free: 13.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006361/0.351, allocations: 278.6 kB / 489.4 MB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008873/0.3519, allocations: 447.8 kB / 489.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3519, allocations: 0 / 489.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.3524, allocations: 223.8 kB / 490 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.3533, allocations: 144.2 kB / 490.2 MB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3547, allocations: 0.8319 MB / 491 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.3549, allocations: 168.2 kB / 491.2 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.355, allocations: 35.42 kB / 491.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.355, allocations: 4 kB / 491.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of Templates: time 0.01281/0.3678, allocations: 8.281 MB / 499.5 MB, free: 2.656 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.702972517348826]