Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001352/0.001352, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001492/0.001492, allocations: 211.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.91 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2082, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03276/0.2409, allocations: 24.02 MB / 456.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.2439, allocations: 2.014 MB / 458.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.244, allocations: 3.938 kB / 458.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.2443, allocations: 55.67 kB / 458.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.2447, allocations: 167 kB / 458.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01471/0.2594, allocations: 6.503 MB / 465.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.2598, allocations: 346.6 kB / 465.4 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.2599, allocations: 9.75 kB / 465.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.2601, allocations: 147.5 kB / 465.6 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.2603, allocations: 135.5 kB / 465.7 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.2604, allocations: 12 kB / 465.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01519/0.2755, allocations: 9.299 MB / 475 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.2757, allocations: 67.78 kB / 475.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.2758, allocations: 91.66 kB / 475.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007407/0.2832, allocations: 4.681 MB / 479.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2832, allocations: 0 / 479.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2832, allocations: 0 / 479.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.2832, allocations: 0 / 479.9 MB, free: 7.082 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.002906/0.2861, allocations: 1.101 MB / 481 MB, free: 5.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2861, allocations: 8.031 kB / 481 MB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2863, allocations: 28.16 kB / 481 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.2866, allocations: 180.9 kB / 481.2 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.2866, allocations: 8.328 kB / 481.2 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.2867, allocations: 23.95 kB / 481.2 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.2875, allocations: 384.2 kB / 481.6 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2875, allocations: 0 / 481.6 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.2875, allocations: 12 kB / 481.6 MB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.2875, allocations: 7.938 kB / 481.6 MB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008494/0.2884, allocations: 315.7 kB / 481.9 MB, free: 4.934 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.001469/0.2899, allocations: 0.6477 MB / 482.6 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/0.2906, allocations: 245.1 kB / 482.8 MB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.291, allocations: 125.6 kB / 482.9 MB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01304/0.304, allocations: 2.694 MB / 485.6 MB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.304, allocations: 42.5 kB / 485.7 MB, free: 1.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.304, allocations: 0 / 485.7 MB, free: 1.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002989/0.307, allocations: 0.7102 MB / 486.4 MB, free: 408 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.3071, allocations: 81.11 kB / 486.4 MB, free: 308 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3072, allocations: 144.4 kB / 486.6 MB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.3073, allocations: 29.7 kB / 486.6 MB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3074, allocations: 121 kB / 486.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.3075, allocations: 130.8 kB / 486.9 MB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.3076, allocations: 77.59 kB / 486.9 MB, free: 15.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3078, allocations: 334.6 kB / 487.3 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.3082, allocations: 139.9 kB / 487.4 MB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005424/0.3088, allocations: 215.6 kB / 487.6 MB, free: 15.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.3099, allocations: 351.5 kB / 488 MB, free: 14.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3099, allocations: 4 kB / 488 MB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00127/0.3111, allocations: 419.8 kB / 488.4 MB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3112, allocations: 8.219 kB / 488.4 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3112, allocations: 4 kB / 488.4 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3112, allocations: 4 kB / 488.4 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.3117, allocations: 99.8 kB / 488.5 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3117, allocations: 7.938 kB / 488.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.3121, allocations: 23.94 kB / 488.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.3121, allocations: 19.98 kB / 488.5 MB, free: 14.12 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.0001665/0.3123, allocations: 141.7 kB / 488.7 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.3124, allocations: 23.91 kB / 488.7 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.3129, allocations: 178.8 kB / 488.9 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.313, allocations: 15.86 kB / 488.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.313, allocations: 0 / 488.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.313, allocations: 8 kB / 488.9 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.3148, allocations: 0.6852 MB / 489.6 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3148, allocations: 0 / 489.6 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.3153, allocations: 79.88 kB / 489.7 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3153, allocations: 0 / 489.7 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.3153, allocations: 16 kB / 489.7 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3153, allocations: 3.938 kB / 489.7 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3153, allocations: 7.984 kB / 489.7 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.317, allocations: 0.7192 MB / 490.4 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.3172, allocations: 51.73 kB / 490.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.3172, allocations: 8 kB / 490.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.3176, allocations: 28.05 kB / 490.5 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.3177, allocations: 23.89 kB / 490.5 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.3177, allocations: 19.98 kB / 490.5 MB, free: 12.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.658e-05/0.3178, allocations: 114 kB / 490.6 MB, free: 11.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3178, allocations: 0 / 490.6 MB, free: 11.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002271/0.3201, allocations: 0.9589 MB / 491.6 MB, free: 10.95 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.0037/0.3238, allocations: 1.25 MB / 492.9 MB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.3248, allocations: 331.4 kB / 493.2 MB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.3248, allocations: 4 kB / 493.2 MB, free: 9.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.3253, allocations: 174.3 kB / 493.3 MB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007531/0.3261, allocations: 112.1 kB / 493.5 MB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3275, allocations: 0.6218 MB / 494.1 MB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.3276, allocations: 137.8 kB / 494.2 MB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003416/0.328, allocations: 86.17 kB / 494.3 MB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.3281, allocations: 39.41 kB / 494.3 MB, free: 8.141 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3281, allocations: 0 / 494.3 MB, free: 8.141 MB / 398.1 MB Notification: Performance of Templates: time 0.04369/0.3718, allocations: 30.47 MB / 0.5125 GB, free: 9.754 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.253414672988583]