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.001061/0.001061, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001023/0.001023, allocations: 143.4 kB / 24.89 MB, free: 8.742 MB / 18.57 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.8833/0.8833, allocations: 173.4 MB / 201.6 MB, free: 8.258 MB / 186.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.643e-06/1.643e-06, allocations: 0 / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.748e-05, allocations: 5.266 kB / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01305/0.01307, allocations: 11.9 MB / 280.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.01579, allocations: 1.958 MB / 282.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.01596, allocations: 7.938 kB / 282.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.01636, allocations: 103.3 kB / 282.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006926/0.01705, allocations: 369.8 kB / 282.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003305/0.02036, allocations: 1.392 MB / 284.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009473/0.0213, allocations: 0.9454 MB / 285.2 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.02146, allocations: 66.86 kB / 285.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004812/0.02628, allocations: 4.229 MB / 289.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/0.02681, allocations: 235.3 kB / 289.7 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.02686, allocations: 32 kB / 289.7 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000997/0.02785, allocations: 0.671 MB / 290.4 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.02796, allocations: 103.7 kB / 290.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.02812, allocations: 147.7 kB / 290.6 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.02882, allocations: 0.752 MB / 291.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.02882, allocations: 0 / 291.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.02882, allocations: 0 / 291.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.02883, allocations: 0 / 291.4 MB, free: 2.824 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.0005589/0.02938, allocations: 0.5461 MB / 291.9 MB, free: 2.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.02941, allocations: 8.031 kB / 291.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.02971, allocations: 132.2 kB / 292.1 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.02991, allocations: 201.3 kB / 292.3 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.02993, allocations: 17.03 kB / 292.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.02996, allocations: 28.38 kB / 292.3 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.03022, allocations: 418.3 kB / 292.7 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.03023, allocations: 12.11 kB / 292.7 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.03025, allocations: 20.12 kB / 292.7 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.03026, allocations: 8 kB / 292.8 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.719e-05/0.03036, allocations: 95.31 kB / 292.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.03522, allocations: 3.738 MB / 296.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.03559, allocations: 101.9 kB / 296.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.03564, allocations: 50.83 kB / 296.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003792/0.03943, allocations: 2.484 MB / 299.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.03945, allocations: 38.56 kB / 299.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.03945, allocations: 0 / 299.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.002917/0.04237, allocations: 1.108 MB / 300.4 MB, free: 9.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.04239, allocations: 63.34 kB / 300.4 MB, free: 9.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.0425, allocations: 211.3 kB / 300.6 MB, free: 9.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.04252, allocations: 33.7 kB / 300.7 MB, free: 9.277 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.04259, allocations: 188.3 kB / 300.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.04263, allocations: 95.16 kB / 300.9 MB, free: 8.996 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.04269, allocations: 69.66 kB / 301 MB, free: 8.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.04277, allocations: 334.7 kB / 301.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.04281, allocations: 35.97 kB / 301.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.04289, allocations: 130.7 kB / 301.5 MB, free: 8.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.04304, allocations: 202.2 kB / 301.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.04304, allocations: 0 / 301.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002518/0.04329, allocations: 235 kB / 301.9 MB, free: 7.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.04331, allocations: 4 kB / 301.9 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.04331, allocations: 4 kB / 301.9 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.04514, allocations: 0.9261 MB / 302.9 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.04528, allocations: 67.91 kB / 302.9 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009144/0.04619, allocations: 1.727 MB / 304.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.659e-05/0.04627, allocations: 8 kB / 304.7 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.04628, allocations: 16.16 kB / 304.7 MB, free: 5.039 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 8.095e-05/0.04636, allocations: 128.6 kB / 304.8 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.0464, allocations: 31.91 kB / 304.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.04667, allocations: 308.6 kB / 305.1 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.04668, allocations: 7.984 kB / 305.1 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.04668, allocations: 3.938 kB / 305.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002365/0.04692, allocations: 0.5042 MB / 305.7 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.04742, allocations: 0.5611 MB / 306.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.04743, allocations: 4 kB / 306.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.04752, allocations: 43.92 kB / 306.3 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006648/0.04819, allocations: 287.3 kB / 306.5 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.0482, allocations: 8 kB / 306.5 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002188/0.04842, allocations: 0.5539 MB / 307.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.04842, allocations: 3.938 kB / 307.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.04874, allocations: 436.5 kB / 307.5 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.04876, allocations: 19.86 kB / 307.6 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.04879, allocations: 11.94 kB / 307.6 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.04886, allocations: 7.938 kB / 307.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.04889, allocations: 15.97 kB / 307.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.0489, allocations: 11.98 kB / 307.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.177e-05/0.04895, allocations: 71.09 kB / 307.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04895, allocations: 4.062 kB / 307.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.0493, allocations: 183.8 kB / 307.8 MB, free: 1.652 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.0003767/0.04968, allocations: 279.9 kB / 308.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.05001, allocations: 315.1 kB / 308.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.05002, allocations: 0 / 308.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.05021, allocations: 139.2 kB / 308.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.05059, allocations: 132.2 kB / 308.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009007/0.05149, allocations: 0.6626 MB / 309.4 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.358e-05/0.05155, allocations: 105 kB / 309.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.05166, allocations: 42.94 kB / 309.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.05185, allocations: 149.2 kB / 309.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.05185, allocations: 0 / 309.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of Templates: time 0.01163/0.06348, allocations: 10.49 MB / 320.1 MB, free: 5.398 MB / 298.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 -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.133386614266783]