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.0007483/0.0007483, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001772, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006696/0.0006696, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009284/0.001598, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9273/0.9273, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07534/1.003, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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 1.282e-06/1.282e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.233e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.008415/0.008428, allocations: 12.05 MB / 256.8 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.01003, allocations: 1.954 MB / 258.7 MB, free: 144 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.01014, allocations: 7.938 kB / 258.7 MB, free: 136 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.01037, allocations: 115.2 kB / 258.8 MB, free: 20 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.01076, allocations: 373.8 kB / 259.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.01262, allocations: 1.321 MB / 260.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.01321, allocations: 0.9377 MB / 261.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.01333, allocations: 74.8 kB / 261.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.01641, allocations: 4.179 MB / 265.7 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.01664, allocations: 235.3 kB / 266 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.01668, allocations: 32 kB / 266 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.0174, allocations: 0.7179 MB / 266.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.01747, allocations: 87.72 kB / 266.8 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.236e-05/0.01756, allocations: 123.8 kB / 266.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.01814, allocations: 0.6351 MB / 267.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.01814, allocations: 0 / 267.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01815, allocations: 4 kB / 267.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.01815, allocations: 0 / 267.5 MB, free: 7.301 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.0007278/0.01888, allocations: 0.6515 MB / 268.2 MB, free: 6.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.01892, allocations: 12.03 kB / 268.2 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.01925, allocations: 209.3 kB / 268.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.01944, allocations: 197.3 kB / 268.6 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.01946, allocations: 21.03 kB / 268.6 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.01949, allocations: 28.38 kB / 268.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.01975, allocations: 421.9 kB / 269.1 MB, free: 5.637 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.01976, allocations: 11.95 kB / 269.1 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.01978, allocations: 12 kB / 269.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.01978, allocations: 4 kB / 269.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.328e-05/0.01988, allocations: 103.2 kB / 269.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004675/0.02455, allocations: 3.734 MB / 272.9 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.02469, allocations: 114.2 kB / 273 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.02473, allocations: 48.77 kB / 273.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1206/0.1453, allocations: 2.47 MB / 275.6 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.1454, allocations: 37.12 kB / 275.6 MB, free: 16.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/0.1454, allocations: 0 / 275.6 MB, free: 16.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.004527/0.1499, allocations: 1.132 MB / 276.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.1499, allocations: 59.33 kB / 276.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1501, allocations: 213.8 kB / 277 MB, free: 15.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1501, allocations: 32.02 kB / 277 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.1502, allocations: 188.2 kB / 277.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.1502, allocations: 99.28 kB / 277.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.1503, allocations: 68.91 kB / 277.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.453e-05/0.1503, allocations: 336.6 kB / 277.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-05/0.1504, allocations: 32.39 kB / 277.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.1509, allocations: 128.7 kB / 277.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.1511, allocations: 214.4 kB / 278.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1511, allocations: 1 kB / 278.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003299/0.1514, allocations: 236 kB / 278.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1514, allocations: 7.906 kB / 278.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.1514, allocations: 3.406 kB / 278.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00248/0.1539, allocations: 0.93 MB / 279.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.1541, allocations: 78.08 kB / 279.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.1552, allocations: 1.725 MB / 281 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1553, allocations: 8.219 kB / 281 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1553, allocations: 12.19 kB / 281.1 MB, free: 13.3 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 8.45e-05/0.1554, allocations: 141.3 kB / 281.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.1554, allocations: 26.53 kB / 281.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.1558, allocations: 317.2 kB / 281.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.1558, allocations: 8.062 kB / 281.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.1558, allocations: 0 / 281.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002416/0.1561, allocations: 0.5119 MB / 282.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.1567, allocations: 0.5504 MB / 282.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1567, allocations: 1.219 kB / 282.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.1569, allocations: 60.92 kB / 282.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.1569, allocations: 24.14 kB / 282.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008885/0.1578, allocations: 294.7 kB / 283 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.1578, allocations: 11.58 kB / 283 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001756/0.158, allocations: 0.5389 MB / 283.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.158, allocations: 0 / 283.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.1584, allocations: 459.3 kB / 284 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.1584, allocations: 6.578 kB / 284 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1585, allocations: 5.906 kB / 284 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.1585, allocations: 19.25 kB / 284 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1585, allocations: 8.281 kB / 284 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.818e-05/0.1586, allocations: 62.16 kB / 284.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1586, allocations: 0 / 284.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004597/0.1591, allocations: 187.5 kB / 284.3 MB, free: 11.54 MB / 266.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.0005199/0.1596, allocations: 285.2 kB / 284.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004038/0.16, allocations: 316.9 kB / 284.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.16, allocations: 8.312 kB / 284.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.1603, allocations: 147.5 kB / 285 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.1609, allocations: 0.6775 MB / 285.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/0.1668, allocations: 0.6615 MB / 286.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.695e-05/0.1669, allocations: 103.7 kB / 286.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.167, allocations: 40.78 kB / 286.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.1673, allocations: 148.4 kB / 286.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1673, allocations: 0 / 286.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of Templates: time 0.01214/0.1794, allocations: 10.08 MB / 296.7 MB, free: 6.176 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.008912093937397]