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.0007255/0.0007255, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001743, allocations: 449.7 kB / 10.37 MB, free: 332 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.0006411/0.0006411, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008754/0.001516, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9449/0.9449, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07594/1.021, allocations: 52.5 MB / 238.3 MB, free: 4.43 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.372e-06/1.372e-06, allocations: 3.938 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.203e-06/8.575e-06, allocations: 2.312 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.008152/0.00816, allocations: 11.99 MB / 251.5 MB, free: 7.125 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.009777, allocations: 1.981 MB / 253.5 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.009873, allocations: 4 kB / 253.5 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.01009, allocations: 111.2 kB / 253.6 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.01044, allocations: 369.8 kB / 254 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.01197, allocations: 1.329 MB / 255.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008096/0.01278, allocations: 0.9378 MB / 256.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.01291, allocations: 74.78 kB / 256.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.01595, allocations: 4.186 MB / 260.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.01617, allocations: 231.3 kB / 260.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.01621, allocations: 32 kB / 260.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007214/0.01693, allocations: 0.714 MB / 261.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.017, allocations: 83.72 kB / 261.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.0171, allocations: 127.8 kB / 261.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005852/0.01768, allocations: 0.6391 MB / 262.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.0177, allocations: 0 / 262.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.0177, allocations: 0 / 262.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.01771, allocations: 0 / 262.3 MB, free: 12.3 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.0006135/0.01833, allocations: 0.6632 MB / 263 MB, free: 11.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.557e-05/0.01835, allocations: 8.031 kB / 263 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003076/0.01866, allocations: 201.4 kB / 263.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.01888, allocations: 205.3 kB / 263.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.0189, allocations: 21.03 kB / 263.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.01893, allocations: 32.36 kB / 263.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.01922, allocations: 417.9 kB / 263.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.01923, allocations: 3.938 kB / 263.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.01925, allocations: 12 kB / 263.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.01926, allocations: 8 kB / 263.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.01937, allocations: 103.3 kB / 264 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004923/0.02429, allocations: 3.726 MB / 267.7 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.02442, allocations: 106.5 kB / 267.8 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.02446, allocations: 48.83 kB / 267.9 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003999/0.02846, allocations: 2.472 MB / 270.3 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.02848, allocations: 46.48 kB / 270.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.02849, allocations: 0 / 270.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.002851/0.03134, allocations: 1.119 MB / 271.5 MB, free: 2.871 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.03136, allocations: 55.41 kB / 271.6 MB, free: 2.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.03147, allocations: 219.2 kB / 271.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.03149, allocations: 33.7 kB / 271.8 MB, free: 2.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.03155, allocations: 184.3 kB / 272 MB, free: 2.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.03159, allocations: 95.16 kB / 272.1 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.03165, allocations: 69.66 kB / 272.2 MB, free: 2.188 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.03173, allocations: 338.8 kB / 272.5 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.796e-05/0.03176, allocations: 31.98 kB / 272.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/0.03184, allocations: 123.1 kB / 272.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.03199, allocations: 201.7 kB / 272.8 MB, free: 1.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.03199, allocations: 0 / 272.8 MB, free: 1.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002295/0.03222, allocations: 231.3 kB / 273.1 MB, free: 1.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.03223, allocations: 8 kB / 273.1 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.03223, allocations: 4 kB / 273.1 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.03391, allocations: 0.9294 MB / 274 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.03408, allocations: 83.83 kB / 274.1 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0976/0.1317, allocations: 1.707 MB / 275.8 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.1318, allocations: 14.25 kB / 275.8 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1318, allocations: 15.08 kB / 275.8 MB, free: 18.94 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 9.555e-05/0.1319, allocations: 128.7 kB / 275.9 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.132, allocations: 25.84 kB / 276 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.1323, allocations: 318.8 kB / 276.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1323, allocations: 10.98 kB / 276.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1323, allocations: 2.688 kB / 276.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002041/0.1325, allocations: 0.5076 MB / 276.8 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.133, allocations: 0.5483 MB / 277.3 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.133, allocations: 0.9062 kB / 277.3 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1332, allocations: 61.66 kB / 277.4 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.1332, allocations: 24.73 kB / 277.4 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007393/0.1339, allocations: 289.8 kB / 277.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.134, allocations: 12.91 kB / 277.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000155/0.1341, allocations: 0.5453 MB / 278.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1341, allocations: 0 / 278.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.1345, allocations: 437.8 kB / 278.7 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1345, allocations: 13.8 kB / 278.7 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.1346, allocations: 6.25 kB / 278.7 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.1346, allocations: 20.28 kB / 278.7 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1346, allocations: 12.78 kB / 278.8 MB, free: 17.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.1347, allocations: 66.16 kB / 278.8 MB, free: 17.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1347, allocations: 0 / 278.8 MB, free: 17.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004029/0.1351, allocations: 193.5 kB / 279 MB, free: 17.23 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.0003872/0.1354, allocations: 277.7 kB / 279.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.1358, allocations: 316.8 kB / 279.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.1358, allocations: 4.406 kB / 279.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.136, allocations: 130.1 kB / 279.7 MB, free: 17.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.1364, allocations: 175 kB / 279.9 MB, free: 17.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/0.1408, allocations: 0.6603 MB / 280.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.413e-05/0.1408, allocations: 97.8 kB / 280.6 MB, free: 16.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.141, allocations: 48.3 kB / 280.7 MB, free: 16.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.1412, allocations: 148.3 kB / 280.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1412, allocations: 0 / 280.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of Templates: time 0.01168/0.1528, allocations: 10.82 MB / 291.7 MB, free: 13.53 MB / 266.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.100131092593074]