Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.0009925/0.0009925, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009789/0.0009789, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9756/0.9756, allocations: 177 MB / 204.8 MB, free: 5.562 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.131e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2705/0.2705, allocations: 147.4 MB / 420.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2721, allocations: 1.593 MB / 421.9 MB, free: 12.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.912e-05/0.2722, allocations: 0 / 421.9 MB, free: 12.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.2726, allocations: 63.59 kB / 422 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.2729, allocations: 173.3 kB / 422.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.2753, allocations: 1.073 MB / 423.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.2757, allocations: 362.5 kB / 423.6 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.2757, allocations: 5.812 kB / 423.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.2761, allocations: 211.4 kB / 423.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.2763, allocations: 127.6 kB / 423.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.2763, allocations: 12 kB / 423.9 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.2783, allocations: 1.368 MB / 425.3 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.2784, allocations: 83.77 kB / 425.4 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.2785, allocations: 79.83 kB / 425.5 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.28, allocations: 1.091 MB / 426.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.28, allocations: 0 / 426.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.28, allocations: 0 / 426.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.28, allocations: 0 / 426.6 MB, free: 7.742 MB / 378.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.001201/0.2812, allocations: 0.7182 MB / 427.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2812, allocations: 11.98 kB / 427.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.2814, allocations: 40.78 kB / 427.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.2816, allocations: 164.5 kB / 427.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2816, allocations: 16.27 kB / 427.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.2817, allocations: 23.95 kB / 427.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.282, allocations: 322.6 kB / 427.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.282, allocations: 4 kB / 427.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.2821, allocations: 8 kB / 427.9 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.2821, allocations: 8 kB / 427.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.2823, allocations: 139.9 kB / 428 MB, free: 6.199 MB / 378.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.0009898/0.2833, allocations: 0.6824 MB / 428.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.2837, allocations: 194.2 kB / 428.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.2838, allocations: 92.45 kB / 429 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.284, allocations: 51.95 kB / 429 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.284, allocations: 41.33 kB / 429.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.044e-06/0.284, allocations: 0 / 429.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.00108/0.2851, allocations: 0.5078 MB / 429.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.2851, allocations: 81.11 kB / 429.6 MB, free: 4.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2852, allocations: 197.3 kB / 429.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2853, allocations: 37.7 kB / 429.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.2853, allocations: 159.6 kB / 430 MB, free: 4.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.2854, allocations: 130.9 kB / 430.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/0.2855, allocations: 75.34 kB / 430.2 MB, free: 3.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2857, allocations: 0.4962 MB / 430.7 MB, free: 3.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.2858, allocations: 75.95 kB / 430.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.2859, allocations: 189 kB / 431 MB, free: 3.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.2862, allocations: 268.4 kB / 431.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2862, allocations: 4 kB / 431.3 MB, free: 2.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000405/0.2866, allocations: 313.2 kB / 431.6 MB, free: 2.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2867, allocations: 4 kB / 431.6 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2867, allocations: 4 kB / 431.6 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2867, allocations: 4 kB / 431.6 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.2869, allocations: 88.05 kB / 431.7 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2869, allocations: 4 kB / 431.7 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.2871, allocations: 24.94 kB / 431.7 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.2871, allocations: 16 kB / 431.7 MB, free: 2.266 MB / 378.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.706e-05/0.2872, allocations: 180.4 kB / 431.9 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.2872, allocations: 35.84 kB / 431.9 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.2876, allocations: 156.6 kB / 432.1 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2876, allocations: 4 kB / 432.1 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2876, allocations: 0 / 432.1 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2876, allocations: 3.984 kB / 432.1 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008146/0.2884, allocations: 0.6445 MB / 432.7 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.2885, allocations: 4 kB / 432.7 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.2887, allocations: 68.84 kB / 432.8 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2887, allocations: 0 / 432.8 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.2887, allocations: 19.98 kB / 432.8 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2887, allocations: 0 / 432.8 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2887, allocations: 11.88 kB / 432.8 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.2893, allocations: 0.6506 MB / 433.5 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.2894, allocations: 43.86 kB / 433.5 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.2894, allocations: 8.688 kB / 433.5 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.2896, allocations: 15.98 kB / 433.5 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.2896, allocations: 35.83 kB / 433.6 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.2896, allocations: 12 kB / 433.6 MB, free: 268 kB / 378.7 MB Notification: Performance of sorting global known variables: time 5.652e-05/0.2897, allocations: 146.1 kB / 433.7 MB, free: 124 kB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2897, allocations: 4.031 kB / 433.7 MB, free: 120 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.1723/0.462, allocations: 152.7 kB / 433.9 MB, free: 12.26 MB / 378.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 (38): * Single equations (assignments): 38 * 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.0005751/0.4625, allocations: 237.2 kB / 434.1 MB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006035/0.4631, allocations: 252.8 kB / 434.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4631, allocations: 0.6562 kB / 434.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.4633, allocations: 138.8 kB / 434.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.4639, allocations: 124 kB / 434.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.4652, allocations: 0.5309 MB / 435.1 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.867e-05/0.4653, allocations: 92.41 kB / 435.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002745/0.4656, allocations: 70.86 kB / 435.3 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.4657, allocations: 36.64 kB / 435.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.4657, allocations: 0.875 kB / 435.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of Templates: time 0.0111/0.4768, allocations: 6.548 MB / 441.9 MB, free: 11.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/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: 3.4742658180184662]