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.002541/0.002541, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002965/0.002965, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.535/1.535, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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 4.689e-06/4.689e-06, allocations: 4 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.768e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1468/0.1469, allocations: 27.58 MB / 299.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004185/0.151, allocations: 4.216 MB / 304.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.1512, allocations: 6.406 kB / 304.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.1518, allocations: 196.7 kB / 304.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006049/0.1524, allocations: 358.9 kB / 304.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.1558, allocations: 1.488 MB / 306.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008183/0.1566, allocations: 0.9042 MB / 307.1 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1568, allocations: 76.12 kB / 307.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005959/0.1627, allocations: 4.289 MB / 311.4 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.163, allocations: 250.8 kB / 311.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.094e-05/0.1631, allocations: 32.31 kB / 311.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.1642, allocations: 0.7005 MB / 312.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.759e-05/0.1643, allocations: 103.2 kB / 312.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.1645, allocations: 151.5 kB / 312.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009893/0.1655, allocations: 0.9569 MB / 313.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1655, allocations: 0 / 313.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1655, allocations: 2.406 kB / 313.6 MB, free: 8.203 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1655, allocations: 4 kB / 313.6 MB, free: 8.199 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.000803/0.1663, allocations: 0.6986 MB / 314.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1663, allocations: 9.125 kB / 314.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004684/0.1668, allocations: 127.5 kB / 314.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.1671, allocations: 233.1 kB / 314.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1671, allocations: 24.81 kB / 314.7 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.1672, allocations: 33.19 kB / 314.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.1676, allocations: 0.5162 MB / 315.3 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1676, allocations: 192 / 315.3 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.1677, allocations: 12.66 kB / 315.3 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1677, allocations: 12.06 kB / 315.3 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.1679, allocations: 202.2 kB / 315.5 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.1789, allocations: 4.649 MB / 320.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.1792, allocations: 187 kB / 320.3 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1793, allocations: 83.66 kB / 320.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009549/0.1889, allocations: 2.69 MB / 323.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.1889, allocations: 37.39 kB / 323.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.1889, allocations: 0 / 323.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.00645/0.1954, allocations: 1.281 MB / 324.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.1954, allocations: 55.41 kB / 324.5 MB, free: 14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.1958, allocations: 314.6 kB / 324.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.1958, allocations: 29.7 kB / 324.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.196, allocations: 247.1 kB / 325 MB, free: 13.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1962, allocations: 111.2 kB / 325.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.1963, allocations: 87.3 kB / 325.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000306/0.1966, allocations: 0.5157 MB / 325.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.1968, allocations: 91.75 kB / 325.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.1971, allocations: 231.8 kB / 326.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.1976, allocations: 351.7 kB / 326.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1976, allocations: 4 kB / 326.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008087/0.1984, allocations: 400.5 kB / 326.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1985, allocations: 8 kB / 326.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.1985, allocations: 6.875 kB / 326.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004575/0.203, allocations: 0.9608 MB / 327.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.2033, allocations: 63.91 kB / 327.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/0.206, allocations: 2.645 MB / 330.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.2062, allocations: 8.156 kB / 330.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.2063, allocations: 20 kB / 330.5 MB, free: 7.625 MB / 282.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.0002253/0.2065, allocations: 192.5 kB / 330.7 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.2066, allocations: 38.52 kB / 330.7 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007947/0.2074, allocations: 407.4 kB / 331.1 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.2074, allocations: 8 kB / 331.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2074, allocations: 3.938 kB / 331.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007947/0.2082, allocations: 0.6296 MB / 331.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.2096, allocations: 0.8334 MB / 332.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.2096, allocations: 3.938 kB / 332.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.2098, allocations: 35.98 kB / 332.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.2117, allocations: 299.2 kB / 332.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.2117, allocations: 11.06 kB / 332.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007482/0.2124, allocations: 0.8585 MB / 333.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2124, allocations: 0 / 333.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2135, allocations: 0.6303 MB / 334.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.2135, allocations: 23.84 kB / 334.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.2136, allocations: 8 kB / 334.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.2137, allocations: 4 kB / 334.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.2138, allocations: 19.91 kB / 334.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.2138, allocations: 15.98 kB / 334.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002125/0.214, allocations: 205.5 kB / 334.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.214, allocations: 8.062 kB / 334.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006991/0.2147, allocations: 191.6 kB / 334.9 MB, free: 3 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.000643/0.2154, allocations: 289.5 kB / 335.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.2165, allocations: 490 kB / 335.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2165, allocations: 0 / 335.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005495/0.2171, allocations: 191.2 kB / 335.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008855/0.2179, allocations: 133.9 kB / 336 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.2193, allocations: 0.7162 MB / 336.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.2195, allocations: 168.3 kB / 336.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.2196, allocations: 38.97 kB / 336.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.2197, allocations: 32.48 kB / 336.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2197, allocations: 0 / 336.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of Templates: time 0.01886/0.2386, allocations: 9.329 MB / 346.3 MB, free: 7.691 MB / 298.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 -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","/var/lib/jenkins/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: 5.663950916030444]