Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 84.25 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.887/0.887, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.863e-05, allocations: 3.578 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03042/0.03044, allocations: 26.14 MB / 300.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.03308, allocations: 2.204 MB / 302.5 MB, free: 7.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.03315, allocations: 4 kB / 302.5 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.03342, allocations: 59.66 kB / 302.5 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.03377, allocations: 174.8 kB / 302.7 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01383/0.04761, allocations: 6.573 MB / 309.3 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.048, allocations: 346.5 kB / 309.6 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.04804, allocations: 13.73 kB / 309.6 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.0483, allocations: 191.5 kB / 309.8 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.04848, allocations: 111.7 kB / 309.9 MB, free: 392 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.04851, allocations: 12 kB / 309.9 MB, free: 380 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009378/0.05789, allocations: 9.017 MB / 318.9 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.05796, allocations: 83.78 kB / 319 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.05803, allocations: 79.83 kB / 319.1 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00577/0.0638, allocations: 5.862 MB / 325 MB, free: 1.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.06381, allocations: 0 / 325 MB, free: 1.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.06381, allocations: 8 kB / 325 MB, free: 1.297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.06381, allocations: 0 / 325 MB, free: 1.297 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001574/0.06539, allocations: 1.174 MB / 326.1 MB, free: 80 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.06541, allocations: 12.03 kB / 326.2 MB, free: 68 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.06553, allocations: 60.08 kB / 326.2 MB, free: 8 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.0657, allocations: 175.7 kB / 326.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.06571, allocations: 8.328 kB / 326.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.06574, allocations: 16 kB / 326.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.06607, allocations: 318.6 kB / 326.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.06608, allocations: 0 / 326.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.06609, allocations: 4 kB / 326.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.06612, allocations: 12 kB / 326.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.06632, allocations: 135.8 kB / 326.9 MB, free: 15.29 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.06701, allocations: 0.6658 MB / 327.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.06731, allocations: 210.2 kB / 327.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.06738, allocations: 87.2 kB / 327.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004597/0.07198, allocations: 2.443 MB / 330.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.07201, allocations: 41.39 kB / 330.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.352e-06/0.07201, allocations: 0 / 330.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009495/0.07296, allocations: 476.2 kB / 330.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.07299, allocations: 89.05 kB / 330.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.07308, allocations: 185.9 kB / 331 MB, free: 10.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.07311, allocations: 37.69 kB / 331.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.07316, allocations: 159.7 kB / 331.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.07323, allocations: 142.8 kB / 331.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.07331, allocations: 75.33 kB / 331.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.07343, allocations: 0.5079 MB / 332 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.0735, allocations: 59.95 kB / 332 MB, free: 9.988 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.07365, allocations: 161.1 kB / 332.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.07392, allocations: 244.3 kB / 332.4 MB, free: 9.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.07392, allocations: 0 / 332.4 MB, free: 9.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004036/0.07432, allocations: 313.1 kB / 332.7 MB, free: 9.207 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.07433, allocations: 4 kB / 332.7 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.07434, allocations: 7.984 kB / 332.7 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.07435, allocations: 4 kB / 332.7 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.07459, allocations: 79.83 kB / 332.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.0746, allocations: 4 kB / 332.8 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.07471, allocations: 23.94 kB / 332.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.07473, allocations: 12 kB / 332.8 MB, free: 9.074 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.383e-05/0.07483, allocations: 184.4 kB / 333 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.07493, allocations: 51.73 kB / 333.1 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.07517, allocations: 161.7 kB / 333.2 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.07517, allocations: 7.938 kB / 333.2 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.07518, allocations: 3.984 kB / 333.2 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.07518, allocations: 4 kB / 333.2 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.07582, allocations: 0.5924 MB / 333.8 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.07582, allocations: 0 / 333.8 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.076, allocations: 75.89 kB / 333.9 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.076, allocations: 160 / 333.9 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.07602, allocations: 27.92 kB / 333.9 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.07603, allocations: 7.938 kB / 334 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.07603, allocations: 0 / 334 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.07654, allocations: 0.6228 MB / 334.6 MB, free: 7.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.07661, allocations: 51.75 kB / 334.6 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.07663, allocations: 7.938 kB / 334.6 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.07678, allocations: 20.02 kB / 334.7 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.0768, allocations: 27.95 kB / 334.7 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.07683, allocations: 12 kB / 334.7 MB, free: 7.113 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.789e-05/0.07687, allocations: 149.7 kB / 334.8 MB, free: 6.969 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.07687, allocations: 0 / 334.8 MB, free: 6.969 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001374/0.07825, allocations: 0.955 MB / 335.8 MB, free: 6.012 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002344/0.08059, allocations: 1.414 MB / 337.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.08089, allocations: 234.6 kB / 337.4 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.08089, allocations: 0 / 337.4 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.08103, allocations: 132.2 kB / 337.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.08145, allocations: 115.6 kB / 337.7 MB, free: 4.113 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008712/0.08232, allocations: 0.5353 MB / 338.2 MB, free: 3.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.075e-05/0.08238, allocations: 85.64 kB / 338.3 MB, free: 3.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.08256, allocations: 74.23 kB / 338.4 MB, free: 3.344 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.0828, allocations: 174.1 kB / 338.5 MB, free: 3.172 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.0828, allocations: 0 / 338.5 MB, free: 3.172 MB / 314.7 MB Notification: Performance of Templates: time 0.1131/0.1959, allocations: 35.34 MB / 373.9 MB, free: 56.8 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.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: 4.558856206946075]