Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008079/0.0008079, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001181/0.001989, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007445/0.0007445, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.001858, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8994/0.8994, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1469/1.046, allocations: 52.5 MB / 238.5 MB, free: 7.609 MB / 234.7 MB " [Timeout remaining time 179] 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.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.127e-05, allocations: 2.312 kB / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.009555/0.009576, allocations: 11.99 MB / 251.8 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.01166, allocations: 1.974 MB / 253.7 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.01186, allocations: 7.938 kB / 253.7 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.01217, allocations: 111.3 kB / 253.8 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.01266, allocations: 361.8 kB / 254.2 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.01539, allocations: 1.333 MB / 255.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008532/0.01625, allocations: 0.9339 MB / 256.5 MB, free: 5.594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.01641, allocations: 78.8 kB / 256.5 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003886/0.0203, allocations: 4.183 MB / 260.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.02062, allocations: 235.3 kB / 261 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.02066, allocations: 28 kB / 261 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.02172, allocations: 0.7257 MB / 261.7 MB, free: 356 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.02182, allocations: 75.73 kB / 261.8 MB, free: 280 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.02195, allocations: 123.8 kB / 261.9 MB, free: 156 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009366/0.02289, allocations: 0.6391 MB / 262.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.0229, allocations: 3.984 kB / 262.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.0229, allocations: 0 / 262.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.02291, allocations: 0 / 262.5 MB, free: 15.51 MB / 266.7 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.0007081/0.02362, allocations: 0.6554 MB / 263.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.02365, allocations: 8.031 kB / 263.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/0.02401, allocations: 205.4 kB / 263.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.02426, allocations: 197.3 kB / 263.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.02427, allocations: 17.03 kB / 263.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.02431, allocations: 36.31 kB / 263.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.02461, allocations: 421.9 kB / 264.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.02462, allocations: 0 / 264.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.02464, allocations: 16 kB / 264.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.02465, allocations: 12 kB / 264.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.02475, allocations: 95.3 kB / 264.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005154/0.0299, allocations: 3.73 MB / 267.9 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.03006, allocations: 118.1 kB / 268 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.03011, allocations: 48.78 kB / 268.1 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003772/0.03388, allocations: 2.484 MB / 270.6 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.03391, allocations: 34.56 kB / 270.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.885e-06/0.03392, allocations: 0 / 270.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003251/0.03717, allocations: 1.146 MB / 271.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.0372, allocations: 59.39 kB / 271.8 MB, free: 5.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.03735, allocations: 215.2 kB / 272 MB, free: 5.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.03737, allocations: 29.7 kB / 272 MB, free: 5.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.03752, allocations: 184.3 kB / 272.2 MB, free: 5.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.03757, allocations: 107.1 kB / 272.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.03763, allocations: 61.67 kB / 272.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.03771, allocations: 342.8 kB / 272.7 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.03775, allocations: 31.98 kB / 272.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.909e-05/0.03783, allocations: 135 kB / 272.9 MB, free: 4.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.03799, allocations: 214.6 kB / 273.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.03799, allocations: 3.984 kB / 273.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002767/0.03827, allocations: 227.3 kB / 273.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.03828, allocations: 8 kB / 273.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.03829, allocations: 4 kB / 273.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.04005, allocations: 0.9198 MB / 274.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.04026, allocations: 87.83 kB / 274.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009584/0.04122, allocations: 1.715 MB / 276.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.04135, allocations: 12 kB / 276.1 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.04137, allocations: 8 kB / 276.1 MB, free: 1.473 MB / 266.7 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.000105/0.04147, allocations: 136.5 kB / 276.2 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.04151, allocations: 32.06 kB / 276.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.04181, allocations: 304.6 kB / 276.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.04181, allocations: 4 kB / 276.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.04182, allocations: 0 / 276.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002415/0.04206, allocations: 0.5119 MB / 277 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.04265, allocations: 0.5573 MB / 277.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.04266, allocations: 0 / 277.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.04279, allocations: 51.97 kB / 277.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.04282, allocations: 39.81 kB / 277.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006845/0.0435, allocations: 279.3 kB / 278 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.04352, allocations: 15.92 kB / 278 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002269/0.04375, allocations: 0.5383 MB / 278.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.04375, allocations: 0 / 278.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.04409, allocations: 459.4 kB / 279 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.04412, allocations: 4 kB / 279 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.04421, allocations: 11.98 kB / 279 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.04425, allocations: 15.97 kB / 279 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.04426, allocations: 8 kB / 279 MB, free: 14.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.296e-05/0.04431, allocations: 71.16 kB / 279.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04431, allocations: 0 / 279.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005214/0.04483, allocations: 183.7 kB / 279.3 MB, free: 14.08 MB / 282.7 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.0004341/0.04527, allocations: 283.9 kB / 279.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.04565, allocations: 319.9 kB / 279.8 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.04566, allocations: 4 kB / 279.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.04591, allocations: 148.5 kB / 280 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/0.0465, allocations: 0.6804 MB / 280.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.05077, allocations: 0.6585 MB / 281.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.151e-05/0.05083, allocations: 97.11 kB / 281.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.05098, allocations: 50.94 kB / 281.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.0512, allocations: 149.2 kB / 281.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of SimCode: time 1.263e-06/0.0512, allocations: 4 kB / 281.6 MB, free: 11.51 MB / 282.7 MB Notification: Performance of Templates: time 0.01167/0.06286, allocations: 10.06 MB / 291.7 MB, free: 1.562 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9164949022233486]