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.0008378/0.0008378, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.001975, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007172/0.0007172, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009114/0.001629, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.8634/0.8634, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1575/1.021, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.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.854e-06/1.854e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.805e-05, allocations: 9.406 kB / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03216/0.03218, allocations: 25.28 MB / 247.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.03569, allocations: 2.455 MB / 249.7 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.03589, allocations: 7.938 kB / 249.7 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.03629, allocations: 131.1 kB / 249.9 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.03688, allocations: 393.5 kB / 250.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01485/0.05173, allocations: 5.904 MB / 256.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.05313, allocations: 1.138 MB / 257.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.05336, allocations: 101.8 kB / 257.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005006/0.05837, allocations: 3.266 MB / 260.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.05895, allocations: 363 kB / 261 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.9e-05/0.05904, allocations: 56 kB / 261.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/0.07448, allocations: 9.33 MB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.07471, allocations: 203.6 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.07497, allocations: 195.8 kB / 270.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007696/0.08267, allocations: 4.713 MB / 275.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.08268, allocations: 0 / 275.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.08268, allocations: 0 / 275.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.0827, allocations: 0 / 275.5 MB, free: 10.37 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002916/0.08561, allocations: 1.693 MB / 277.2 MB, free: 8.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.08565, allocations: 12.03 kB / 277.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003951/0.08604, allocations: 188.8 kB / 277.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.08645, allocations: 256.3 kB / 277.6 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.08648, allocations: 37 kB / 277.7 MB, free: 8.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.08656, allocations: 48 kB / 277.7 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009053/0.08747, allocations: 0.6226 MB / 278.4 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.08748, allocations: 0 / 278.4 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.08753, allocations: 20 kB / 278.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.08755, allocations: 12 kB / 278.4 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.08823, allocations: 266.7 kB / 278.6 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007782/0.09601, allocations: 3.106 MB / 281.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007672/0.09678, allocations: 305.2 kB / 282.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.09694, allocations: 97.12 kB / 282.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006305/0.1032, allocations: 2.402 MB / 284.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.1033, allocations: 43.06 kB / 284.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 3.126e-06/0.1033, allocations: 0 / 284.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.1407/0.2439, allocations: 1.339 MB / 285.9 MB, free: 25.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.244, allocations: 58.19 kB / 286 MB, free: 25.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.2442, allocations: 230.8 kB / 286.2 MB, free: 25.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.2442, allocations: 36.64 kB / 286.2 MB, free: 25.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.2443, allocations: 194.4 kB / 286.4 MB, free: 25.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.482e-05/0.2444, allocations: 201.4 kB / 286.6 MB, free: 25.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.2445, allocations: 105.2 kB / 286.7 MB, free: 25.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.2446, allocations: 351.9 kB / 287.1 MB, free: 24.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.2447, allocations: 69.12 kB / 287.1 MB, free: 24.72 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.245, allocations: 168.1 kB / 287.3 MB, free: 24.63 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.2455, allocations: 323.3 kB / 287.6 MB, free: 24.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2455, allocations: 3.688 kB / 287.6 MB, free: 24.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008723/0.2464, allocations: 423.9 kB / 288 MB, free: 24.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2464, allocations: 5.406 kB / 288 MB, free: 24.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2464, allocations: 4.266 kB / 288.1 MB, free: 24.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/0.2467, allocations: 82.22 kB / 288.1 MB, free: 24.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.2471, allocations: 155.5 kB / 288.3 MB, free: 24.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.2482, allocations: 2.956 MB / 291.2 MB, free: 21.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.2483, allocations: 16.11 kB / 291.3 MB, free: 21.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.2484, allocations: 26.22 kB / 291.3 MB, free: 21.49 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 (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.0001178/0.2485, allocations: 148.6 kB / 291.4 MB, free: 21.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.2487, allocations: 88.16 kB / 291.5 MB, free: 21.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.2494, allocations: 0.4975 MB / 292 MB, free: 21.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.2494, allocations: 6.031 kB / 292 MB, free: 21.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.2494, allocations: 2.344 kB / 292 MB, free: 21.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003998/0.2498, allocations: 482.4 kB / 292.5 MB, free: 20.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009242/0.2507, allocations: 0.7451 MB / 293.2 MB, free: 20.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2507, allocations: 3.281 kB / 293.2 MB, free: 20.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.251, allocations: 122 kB / 293.4 MB, free: 20.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.2511, allocations: 27.2 kB / 293.4 MB, free: 20.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004954/0.2516, allocations: 140.5 kB / 293.5 MB, free: 20.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.2516, allocations: 21.94 kB / 293.5 MB, free: 20.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001429/0.2517, allocations: 0.605 MB / 294.1 MB, free: 19.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2517, allocations: 1.969 kB / 294.2 MB, free: 19.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.2524, allocations: 0.5587 MB / 294.7 MB, free: 19.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.2525, allocations: 15.47 kB / 294.7 MB, free: 19.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.2527, allocations: 19.3 kB / 294.7 MB, free: 19.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.2527, allocations: 34.02 kB / 294.8 MB, free: 19.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.2528, allocations: 23.53 kB / 294.8 MB, free: 19.69 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.2529, allocations: 82.56 kB / 294.9 MB, free: 19.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2529, allocations: 2.094 kB / 294.9 MB, free: 19.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003314/0.2562, allocations: 1.315 MB / 296.2 MB, free: 19.68 MB / 282.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.004218/0.2604, allocations: 1.952 MB / 298.1 MB, free: 19.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006892/0.2611, allocations: 0.5137 MB / 298.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.153e-05/0.2611, allocations: 14.64 kB / 298.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.2614, allocations: 196.5 kB / 298.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007224/0.2621, allocations: 0.9366 MB / 299.8 MB, free: 18.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/0.2666, allocations: 0.8804 MB / 300.7 MB, free: 17.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.785e-05/0.2667, allocations: 136 kB / 300.8 MB, free: 17.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002737/0.267, allocations: 102.3 kB / 300.9 MB, free: 17.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.2674, allocations: 259.3 kB / 301.2 MB, free: 17.82 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2674, allocations: 0 / 301.2 MB, free: 17.82 MB / 282.7 MB Notification: Performance of Templates: time 0.04854/0.316, allocations: 52.59 MB / 353.8 MB, free: 10.6 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.150250541046262]