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.001505/0.001505, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001667/0.001667, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.001499/0.001499, allocations: 47.92 kB / 379 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2332, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03035/0.2636, allocations: 27.42 MB / 459.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005329/0.2689, allocations: 4.21 MB / 464 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.2691, allocations: 7.938 kB / 464 MB, free: 7.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.2698, allocations: 210.7 kB / 464.2 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007247/0.2705, allocations: 342.1 kB / 464.6 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.2744, allocations: 1.468 MB / 466 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.2756, allocations: 0.9106 MB / 467 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.2758, allocations: 76.84 kB / 467 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006808/0.2826, allocations: 4.135 MB / 471.2 MB, free: 60 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004654/0.2831, allocations: 290.9 kB / 471.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.2832, allocations: 32 kB / 471.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.2846, allocations: 0.7337 MB / 472.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.2848, allocations: 95.66 kB / 472.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.285, allocations: 195.2 kB / 472.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.2863, allocations: 0.8492 MB / 473.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2863, allocations: 0 / 473.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2863, allocations: 0 / 473.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2863, allocations: 0 / 473.3 MB, free: 13.87 MB / 382.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.0009882/0.2873, allocations: 0.5945 MB / 473.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2873, allocations: 8.031 kB / 473.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.2878, allocations: 56.72 kB / 474 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.2882, allocations: 234 kB / 474.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2883, allocations: 21.03 kB / 474.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.2883, allocations: 28.38 kB / 474.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.2888, allocations: 339.7 kB / 474.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2888, allocations: 0 / 474.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.2889, allocations: 20 kB / 474.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.2889, allocations: 15.92 kB / 474.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.2893, allocations: 209.7 kB / 474.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.3023, allocations: 4.66 MB / 479.5 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.3026, allocations: 170.6 kB / 479.7 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3027, allocations: 84.77 kB / 479.8 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.3131, allocations: 2.676 MB / 482.4 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.3132, allocations: 42.5 kB / 482.5 MB, free: 4.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.854e-06/0.3132, allocations: 0 / 482.5 MB, free: 4.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006179/0.3194, allocations: 1.269 MB / 483.7 MB, free: 3.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.3194, allocations: 55.41 kB / 483.8 MB, free: 3.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.3197, allocations: 261.9 kB / 484.1 MB, free: 2.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.3197, allocations: 29.7 kB / 484.1 MB, free: 2.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3199, allocations: 192.4 kB / 484.3 MB, free: 2.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.32, allocations: 95.17 kB / 484.4 MB, free: 2.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3201, allocations: 73.64 kB / 484.4 MB, free: 2.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3202, allocations: 334.8 kB / 484.8 MB, free: 2.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.3204, allocations: 91.97 kB / 484.9 MB, free: 1.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.3206, allocations: 182.9 kB / 485 MB, free: 1.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.3211, allocations: 310.9 kB / 485.3 MB, free: 1.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3211, allocations: 4 kB / 485.3 MB, free: 1.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000699/0.3218, allocations: 391.1 kB / 485.7 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3218, allocations: 12.03 kB / 485.7 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.3218, allocations: 4 kB / 485.7 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/0.3258, allocations: 0.9291 MB / 486.7 MB, free: 60 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.3261, allocations: 67.89 kB / 486.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.3277, allocations: 1.874 MB / 488.6 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.3279, allocations: 12.03 kB / 488.6 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.3279, allocations: 12.16 kB / 488.6 MB, free: 13.96 MB / 398.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.0001806/0.3281, allocations: 159.5 kB / 488.8 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.3282, allocations: 35.75 kB / 488.8 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007604/0.3289, allocations: 0.4993 MB / 489.3 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.329, allocations: 4 kB / 489.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.329, allocations: 0 / 489.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007152/0.3297, allocations: 0.7316 MB / 490.1 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.331, allocations: 0.9177 MB / 491 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.331, allocations: 11.92 kB / 491 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.3312, allocations: 39.98 kB / 491 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.3329, allocations: 316.4 kB / 491.3 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.3329, allocations: 15.98 kB / 491.4 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005632/0.3335, allocations: 0.646 MB / 492 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3335, allocations: 0 / 492 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000985/0.3345, allocations: 0.7446 MB / 492.7 MB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.3345, allocations: 31.77 kB / 492.8 MB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.3346, allocations: 8 kB / 492.8 MB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.3347, allocations: 4 kB / 492.8 MB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.3348, allocations: 15.97 kB / 492.8 MB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.3348, allocations: 15.98 kB / 492.8 MB, free: 9.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.335, allocations: 177.2 kB / 493 MB, free: 9.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.335, allocations: 4.062 kB / 493 MB, free: 9.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006523/0.3357, allocations: 195.7 kB / 493.2 MB, free: 9.18 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.0005493/0.3362, allocations: 270.6 kB / 493.5 MB, free: 8.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008374/0.337, allocations: 435.9 kB / 493.9 MB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.337, allocations: 0 / 493.9 MB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005298/0.3376, allocations: 235.7 kB / 494.1 MB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.3385, allocations: 179 kB / 494.3 MB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.3399, allocations: 0.8329 MB / 495.1 MB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.3403, allocations: 0.776 MB / 495.9 MB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.3404, allocations: 27.44 kB / 495.9 MB, free: 6.371 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3404, allocations: 3.938 kB / 495.9 MB, free: 6.367 MB / 398.1 MB Notification: Performance of Templates: time 0.01226/0.3526, allocations: 8.473 MB / 0.4926 GB, free: 13.91 MB / 414.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.387664519017562]