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.001843/0.001843, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002492/0.002492, allocations: 210.5 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.467/1.467, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002191/0.002191, allocations: 63.84 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2565, allocations: 53.4 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03378/0.2902, allocations: 24.02 MB / 456.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.2933, allocations: 2.01 MB / 458.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.2934, allocations: 0 / 458.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.2938, allocations: 55.66 kB / 458.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.2942, allocations: 167 kB / 458.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01656/0.3108, allocations: 6.523 MB / 465.2 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005266/0.3113, allocations: 338.6 kB / 465.5 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.3114, allocations: 13.73 kB / 465.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.3116, allocations: 139.6 kB / 465.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.3119, allocations: 127.5 kB / 465.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.3119, allocations: 12 kB / 465.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01691/0.3288, allocations: 8.987 MB / 474.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.329, allocations: 67.84 kB / 474.8 MB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.3292, allocations: 91.64 kB / 474.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.3409, allocations: 4.677 MB / 479.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3409, allocations: 0 / 479.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3409, allocations: 0 / 479.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3409, allocations: 7.938 kB / 479.6 MB, free: 7.215 MB / 382.1 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.003979/0.3449, allocations: 1.098 MB / 480.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3449, allocations: 15.98 kB / 480.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.3451, allocations: 32.2 kB / 480.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.3454, allocations: 161 kB / 480.9 MB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3454, allocations: 12.31 kB / 480.9 MB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.3455, allocations: 19.95 kB / 480.9 MB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.3462, allocations: 392.2 kB / 481.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3463, allocations: 0 / 481.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.3463, allocations: 11.94 kB / 481.3 MB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.3463, allocations: 11.94 kB / 481.3 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008008/0.3471, allocations: 311.7 kB / 481.6 MB, free: 5.07 MB / 382.1 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.001417/0.3485, allocations: 0.6477 MB / 482.3 MB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007376/0.3493, allocations: 249.1 kB / 482.5 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.3496, allocations: 132.4 kB / 482.7 MB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.3607, allocations: 2.679 MB / 485.3 MB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.517e-05/0.3607, allocations: 42.5 kB / 485.4 MB, free: 1.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.765e-06/0.3607, allocations: 0 / 485.4 MB, free: 1.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002906/0.3636, allocations: 0.7073 MB / 486.1 MB, free: 0.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.3637, allocations: 85.05 kB / 486.2 MB, free: 452 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3639, allocations: 152.5 kB / 486.3 MB, free: 292 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.3639, allocations: 29.7 kB / 486.4 MB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.364, allocations: 116.9 kB / 486.5 MB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.3641, allocations: 134.8 kB / 486.6 MB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.3642, allocations: 73.64 kB / 486.7 MB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3644, allocations: 334.8 kB / 487 MB, free: 15.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.3648, allocations: 135.9 kB / 487.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.3653, allocations: 207.6 kB / 487.3 MB, free: 15.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/0.3662, allocations: 363.5 kB / 487.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3662, allocations: 0 / 487.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001229/0.3675, allocations: 424.8 kB / 488.1 MB, free: 14.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3675, allocations: 7.938 kB / 488.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3675, allocations: 4 kB / 488.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.3675, allocations: 8 kB / 488.1 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.368, allocations: 83.88 kB / 488.2 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.368, allocations: 11.88 kB / 488.2 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.3683, allocations: 31.92 kB / 488.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.3684, allocations: 16.12 kB / 488.3 MB, free: 14.26 MB / 398.1 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 0.0001733/0.3685, allocations: 146.4 kB / 488.4 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.3687, allocations: 19.91 kB / 488.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.3692, allocations: 198.7 kB / 488.6 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.3692, allocations: 7.938 kB / 488.6 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.3692, allocations: 4 kB / 488.6 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.3692, allocations: 7.922 kB / 488.6 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.371, allocations: 0.6682 MB / 489.3 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.371, allocations: 0 / 489.3 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.3714, allocations: 83.88 kB / 489.4 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.3714, allocations: 7.938 kB / 489.4 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.3714, allocations: 11.98 kB / 489.4 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3715, allocations: 4 kB / 489.4 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3715, allocations: 160 / 489.4 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.373, allocations: 0.7292 MB / 490.1 MB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3732, allocations: 47.75 kB / 490.2 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.3732, allocations: 8 kB / 490.2 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.3736, allocations: 23.97 kB / 490.2 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.3736, allocations: 31.89 kB / 490.3 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.3737, allocations: 12 kB / 490.3 MB, free: 12.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.3738, allocations: 114 kB / 490.4 MB, free: 12.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3738, allocations: 0 / 490.4 MB, free: 12.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002714/0.3765, allocations: 0.9627 MB / 491.3 MB, free: 11.09 MB / 398.1 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.004083/0.3806, allocations: 1.25 MB / 492.6 MB, free: 9.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3817, allocations: 331.6 kB / 492.9 MB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3817, allocations: 0 / 492.9 MB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004829/0.3822, allocations: 176.4 kB / 493.1 MB, free: 9.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.383, allocations: 103.8 kB / 493.2 MB, free: 9.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.3845, allocations: 0.6508 MB / 493.8 MB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.3846, allocations: 133.8 kB / 494 MB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.3848, allocations: 47.41 kB / 494 MB, free: 8.324 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3848, allocations: 0 / 494 MB, free: 8.324 MB / 398.1 MB Notification: Performance of Templates: time 0.03309/0.4179, allocations: 20.3 MB / 0.5023 GB, free: 4.012 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.980106939096004]