Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.000954/0.000954, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0009435/0.0009435, allocations: 164.9 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8321/0.8321, allocations: 158.6 MB / 187.6 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.356e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.02144/0.02145, allocations: 25.11 MB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.0241, allocations: 2.435 MB / 279.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.02425, allocations: 11.94 kB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.02466, allocations: 115.2 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.02511, allocations: 401.4 kB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0115/0.03662, allocations: 6.482 MB / 286.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.03772, allocations: 1.138 MB / 287.2 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.03792, allocations: 93.86 kB / 287.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004503/0.04242, allocations: 3.534 MB / 290.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004497/0.04287, allocations: 359 kB / 291.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.04294, allocations: 56 kB / 291.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/0.05605, allocations: 8.795 MB / 300 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.0563, allocations: 243.4 kB / 300.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.05659, allocations: 239.6 kB / 300.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009139/0.06573, allocations: 6.103 MB / 306.6 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.06573, allocations: 0 / 306.6 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd: time 1.264e-05/0.06574, allocations: 48 / 306.6 MB, free: 16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.06575, allocations: 4 kB / 306.6 MB, free: 15.99 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002322/0.06807, allocations: 1.236 MB / 307.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.06811, allocations: 11.98 kB / 307.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003068/0.06841, allocations: 108.4 kB / 308 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.06877, allocations: 252.4 kB / 308.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.06879, allocations: 37 kB / 308.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.06887, allocations: 48 kB / 308.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007746/0.06964, allocations: 0.6265 MB / 308.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.06966, allocations: 0 / 308.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.0697, allocations: 19.98 kB / 309 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.06971, allocations: 16 kB / 309 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/0.07029, allocations: 258.7 kB / 309.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006681/0.07698, allocations: 3.11 MB / 312.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.0775, allocations: 301.2 kB / 312.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.0776, allocations: 97.12 kB / 312.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004196/0.08179, allocations: 2.402 MB / 315.1 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.08182, allocations: 43.06 kB / 315.2 MB, free: 7.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.994e-06/0.08183, allocations: 3.938 kB / 315.2 MB, free: 7.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002427/0.08425, allocations: 1.19 MB / 316.4 MB, free: 6.035 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.08428, allocations: 63.84 kB / 316.4 MB, free: 5.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.0844, allocations: 216.9 kB / 316.6 MB, free: 5.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.08444, allocations: 41.7 kB / 316.7 MB, free: 5.688 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.08451, allocations: 189.3 kB / 316.9 MB, free: 5.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.355e-05/0.0846, allocations: 202.2 kB / 317.1 MB, free: 5.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.08471, allocations: 110.2 kB / 317.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.08479, allocations: 346.7 kB / 317.5 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.853e-05/0.08489, allocations: 72.11 kB / 317.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.08511, allocations: 172.4 kB / 317.7 MB, free: 4.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.08553, allocations: 317.7 kB / 318.1 MB, free: 4.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.08553, allocations: 3.938 kB / 318.1 MB, free: 4.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007028/0.08623, allocations: 421.7 kB / 318.5 MB, free: 3.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.08625, allocations: 8 kB / 318.5 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.08625, allocations: 4 kB / 318.5 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.08648, allocations: 84.47 kB / 318.6 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.08673, allocations: 123.8 kB / 318.7 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.08806, allocations: 2.953 MB / 321.6 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.0882, allocations: 15.98 kB / 321.7 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.08824, allocations: 20 kB / 321.7 MB, free: 344 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.08836, allocations: 148.5 kB / 321.8 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.08853, allocations: 91.55 kB / 321.9 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006127/0.08914, allocations: 0.5094 MB / 322.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.08915, allocations: 4 kB / 322.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.08915, allocations: 0 / 322.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003697/0.08952, allocations: 471.3 kB / 322.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008283/0.09034, allocations: 0.7422 MB / 323.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.09035, allocations: 0 / 323.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.09056, allocations: 103.9 kB / 323.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.09097, allocations: 139.5 kB / 323.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.091, allocations: 15.98 kB / 323.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002126/0.09121, allocations: 0.6071 MB / 324.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.09121, allocations: 11.94 kB / 324.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.09183, allocations: 0.5546 MB / 325 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.09186, allocations: 23.81 kB / 325.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.09189, allocations: 12 kB / 325.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.09206, allocations: 19.98 kB / 325.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.0921, allocations: 40.36 kB / 325.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.09213, allocations: 24.05 kB / 325.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.015e-05/0.0922, allocations: 86.77 kB / 325.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0922, allocations: 0 / 325.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002386/0.09459, allocations: 1.282 MB / 326.5 MB, free: 11.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003707/0.09829, allocations: 1.879 MB / 328.4 MB, free: 9.379 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007527/0.09905, allocations: 0.5131 MB / 328.9 MB, free: 8.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.09906, allocations: 8 kB / 328.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.09933, allocations: 161.4 kB / 329.1 MB, free: 8.668 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.1001, allocations: 235.8 kB / 329.3 MB, free: 8.441 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.1015, allocations: 0.8632 MB / 330.2 MB, free: 7.535 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.99e-05/0.1016, allocations: 130.9 kB / 330.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003134/0.102, allocations: 103.3 kB / 330.4 MB, free: 7.281 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005862/0.1025, allocations: 249 kB / 330.7 MB, free: 7.039 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1025, allocations: 0 / 330.7 MB, free: 7.039 MB / 314.7 MB Notification: Performance of Templates: time 0.1378/0.2404, allocations: 52.26 MB / 382.9 MB, free: 63.53 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.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: 6.1656642206944525]