Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.00148/0.00148, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001189/0.001189, allocations: 161 kB / 24.55 MB, free: 20 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 0.9467/0.9467, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.715e-05, allocations: 2.312 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01116/0.01119, allocations: 12.95 MB / 285.9 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.01358, allocations: 2.196 MB / 288.1 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.01381, allocations: 11.94 kB / 288.1 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.01427, allocations: 147 kB / 288.3 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006763/0.01494, allocations: 0.5086 MB / 288.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.01774, allocations: 1.485 MB / 290.3 MB, free: 188 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1104/0.1281, allocations: 1.343 MB / 291.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.1284, allocations: 111 kB / 291.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.1294, allocations: 0.653 MB / 292.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006661/0.1301, allocations: 370.2 kB / 292.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.1302, allocations: 46.12 kB / 292.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.1317, allocations: 0.6927 MB / 293.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.1319, allocations: 150.4 kB / 293.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.1322, allocations: 208.1 kB / 293.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.134, allocations: 0.8689 MB / 294.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.134, allocations: 1.156 kB / 294.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.134, allocations: 1.25 kB / 294.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.134, allocations: 0 / 294.7 MB, free: 15.79 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001359/0.1354, allocations: 0.7923 MB / 295.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.1354, allocations: 9.688 kB / 295.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/0.136, allocations: 173.6 kB / 295.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.1365, allocations: 285.1 kB / 296 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.1366, allocations: 33.88 kB / 296 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/0.1366, allocations: 46.12 kB / 296 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.1372, allocations: 0.6054 MB / 296.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1372, allocations: 5.078 kB / 296.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.1372, allocations: 18.16 kB / 296.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1372, allocations: 15.19 kB / 296.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.1375, allocations: 198.8 kB / 296.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00715/0.1447, allocations: 5.161 MB / 302 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.145, allocations: 205.2 kB / 302.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1451, allocations: 97.09 kB / 302.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004527/0.1497, allocations: 2.701 MB / 305 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1497, allocations: 40.23 kB / 305.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.1497, allocations: 0 / 305.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005491/0.1552, allocations: 2.009 MB / 307.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.1552, allocations: 54.59 kB / 307.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1554, allocations: 320.3 kB / 307.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.1554, allocations: 35.23 kB / 307.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.1555, allocations: 278.4 kB / 307.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.1555, allocations: 164.9 kB / 307.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.1556, allocations: 96.44 kB / 308 MB, free: 10.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.1557, allocations: 0.5235 MB / 308.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1558, allocations: 89.88 kB / 308.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.156, allocations: 259.4 kB / 308.9 MB, free: 9.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.1563, allocations: 395.1 kB / 309.3 MB, free: 9.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1563, allocations: 3.984 kB / 309.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005597/0.1569, allocations: 488.7 kB / 309.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1569, allocations: 6.375 kB / 309.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1569, allocations: 5.719 kB / 309.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003635/0.1605, allocations: 1.837 MB / 311.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.1608, allocations: 111 kB / 311.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009649/0.1617, allocations: 3.377 MB / 315.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.1619, allocations: 19.98 kB / 315.1 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1619, allocations: 20 kB / 315.1 MB, free: 4.613 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.162, allocations: 191.5 kB / 315.3 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.1621, allocations: 55.77 kB / 315.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005475/0.1626, allocations: 0.584 MB / 315.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.1626, allocations: 11.94 kB / 315.9 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1626, allocations: 4 kB / 316 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004063/0.163, allocations: 0.6911 MB / 316.6 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.1639, allocations: 1.064 MB / 317.7 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1639, allocations: 8.031 kB / 317.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1641, allocations: 71.81 kB / 317.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.1655, allocations: 0.5571 MB / 318.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.1655, allocations: 15.98 kB / 318.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004232/0.166, allocations: 1.631 MB / 320 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.166, allocations: 0 / 320 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009352/0.1669, allocations: 0.8165 MB / 320.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.1669, allocations: 39.66 kB / 320.8 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.167, allocations: 12 kB / 320.9 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1671, allocations: 15.98 kB / 320.9 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.1671, allocations: 34.72 kB / 320.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.1671, allocations: 15.98 kB / 320.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1673, allocations: 209.1 kB / 321.1 MB, free: 14.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1673, allocations: 0 / 321.1 MB, free: 14.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006902/0.168, allocations: 235.7 kB / 321.4 MB, free: 14.15 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004842/0.1684, allocations: 287.6 kB / 321.6 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007197/0.1692, allocations: 0.5758 MB / 322.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1692, allocations: 0 / 322.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.1696, allocations: 291.9 kB / 322.5 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.1703, allocations: 224.3 kB / 322.7 MB, free: 12.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.1719, allocations: 1.021 MB / 323.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.385e-05/0.172, allocations: 122.8 kB / 323.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002191/0.1723, allocations: 63.36 kB / 323.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.1723, allocations: 36.5 kB / 324 MB, free: 11.55 MB / 282.7 MB Notification: Performance of SimCode: time 2.114e-06/0.1723, allocations: 0 / 324 MB, free: 11.55 MB / 282.7 MB Notification: Performance of Templates: time 0.01606/0.1884, allocations: 12.01 MB / 336 MB, free: 15.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.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.8404332459904253]