Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.0008321/0.0008321, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001877, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006916/0.0006916, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009869/0.001679, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.883/0.883, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1343/1.017, allocations: 49.49 MB / 220.5 MB, free: 1.445 MB / 218.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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.235e-05, allocations: 6.109 kB / 221.9 MB, free: 148 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.02754/0.02756, allocations: 26.26 MB / 248.1 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.03066, allocations: 2.748 MB / 250.9 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.03082, allocations: 11.94 kB / 250.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.0312, allocations: 158.9 kB / 251 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006492/0.03185, allocations: 0.5356 MB / 251.6 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01108/0.04294, allocations: 6.049 MB / 257.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.04425, allocations: 1.621 MB / 259.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.04448, allocations: 150.1 kB / 259.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/0.04524, allocations: 0.8498 MB / 260.2 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005689/0.04581, allocations: 0.5103 MB / 260.7 MB, free: 9.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.04591, allocations: 84 kB / 260.8 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01264/0.05855, allocations: 9.353 MB / 270.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.05884, allocations: 283.4 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.0592, allocations: 271.6 kB / 270.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007205/0.0664, allocations: 4.912 MB / 275.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-05/0.06642, allocations: 0 / 275.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.06642, allocations: 0 / 275.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.06643, allocations: 4 kB / 275.6 MB, free: 10.19 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002476/0.06891, allocations: 1.934 MB / 277.6 MB, free: 8.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.06894, allocations: 8.031 kB / 277.6 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/0.06934, allocations: 229 kB / 277.8 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.06977, allocations: 307.7 kB / 278.1 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.0698, allocations: 49.31 kB / 278.2 MB, free: 7.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/0.0699, allocations: 72 kB / 278.2 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.07096, allocations: 0.8402 MB / 279.1 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.07098, allocations: 3.984 kB / 279.1 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.07104, allocations: 31.94 kB / 279.1 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.07105, allocations: 16 kB / 279.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007875/0.07184, allocations: 366 kB / 279.5 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005362/0.0772, allocations: 3.436 MB / 282.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006643/0.07787, allocations: 444.6 kB / 283.3 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.07802, allocations: 157.6 kB / 283.5 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1054/0.1834, allocations: 2.408 MB / 285.9 MB, free: 25.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.1834, allocations: 48.27 kB / 286 MB, free: 25.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.375e-06/0.1834, allocations: 3.031 kB / 286 MB, free: 25.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.004331/0.1877, allocations: 2.066 MB / 288 MB, free: 25.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.1878, allocations: 63.06 kB / 288.1 MB, free: 25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1879, allocations: 250.8 kB / 288.3 MB, free: 24.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.188, allocations: 46.02 kB / 288.4 MB, free: 24.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.188, allocations: 230 kB / 288.6 MB, free: 24.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.1881, allocations: 319.5 kB / 288.9 MB, free: 24.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.1883, allocations: 159.1 kB / 289.1 MB, free: 24.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.1883, allocations: 364.4 kB / 289.4 MB, free: 24.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1885, allocations: 106.3 kB / 289.5 MB, free: 24.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.1888, allocations: 233.3 kB / 289.8 MB, free: 24.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.1894, allocations: 437.4 kB / 290.2 MB, free: 23.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1894, allocations: 1.094 kB / 290.2 MB, free: 23.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009602/0.1904, allocations: 0.5897 MB / 290.8 MB, free: 23.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1904, allocations: 5.969 kB / 290.8 MB, free: 23.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1904, allocations: 3.094 kB / 290.8 MB, free: 23.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.1908, allocations: 135.2 kB / 290.9 MB, free: 23.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.1913, allocations: 232.5 kB / 291.1 MB, free: 23.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009895/0.1923, allocations: 3.551 MB / 294.7 MB, free: 20.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.1924, allocations: 22.81 kB / 294.7 MB, free: 20.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/0.1925, allocations: 40.97 kB / 294.8 MB, free: 20.32 MB / 282.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0001281/0.1926, allocations: 159.6 kB / 294.9 MB, free: 20.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.1929, allocations: 137.6 kB / 295 MB, free: 20.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.1938, allocations: 0.7634 MB / 295.8 MB, free: 20.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1938, allocations: 9.578 kB / 295.8 MB, free: 20.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1938, allocations: 1.078 kB / 295.8 MB, free: 20.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004869/0.1943, allocations: 0.8348 MB / 296.6 MB, free: 19.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.1954, allocations: 1.045 MB / 297.7 MB, free: 19.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1954, allocations: 1.438 kB / 297.7 MB, free: 19.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.1959, allocations: 203.5 kB / 297.9 MB, free: 19.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1959, allocations: 44.14 kB / 297.9 MB, free: 18.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007952/0.1967, allocations: 281.2 kB / 298.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.1968, allocations: 26.14 kB / 298.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002254/0.197, allocations: 1.209 MB / 299.4 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.197, allocations: 3.531 kB / 299.4 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009592/0.1979, allocations: 0.8194 MB / 300.3 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.198, allocations: 25.31 kB / 300.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.1982, allocations: 33.84 kB / 300.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.1983, allocations: 48.27 kB / 300.4 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/0.1983, allocations: 37.97 kB / 300.4 MB, free: 17.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.843e-05/0.1984, allocations: 102.4 kB / 300.5 MB, free: 17.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1984, allocations: 0.8438 kB / 300.5 MB, free: 17.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002456/0.2008, allocations: 1.38 MB / 301.9 MB, free: 17.44 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003187/0.204, allocations: 1.965 MB / 303.9 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007233/0.2048, allocations: 0.6879 MB / 304.5 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/0.2048, allocations: 10.69 kB / 304.6 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.2051, allocations: 275.5 kB / 304.8 MB, free: 16.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.2058, allocations: 433 kB / 305.2 MB, free: 16.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.2116, allocations: 1.28 MB / 306.5 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.347e-05/0.2116, allocations: 171.6 kB / 306.7 MB, free: 16.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003424/0.212, allocations: 146.4 kB / 306.8 MB, free: 16.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005598/0.2125, allocations: 335.3 kB / 307.2 MB, free: 16.05 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2125, allocations: 3.188 kB / 307.2 MB, free: 16.05 MB / 282.7 MB Notification: Performance of Templates: time 0.0483/0.2608, allocations: 59.07 MB / 366.2 MB, free: 14.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.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: 8.922409410588443]