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.001407/0.001407, allocations: 83.2 kB / 20.49 MB, free: 1.387 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.001862/0.001862, allocations: 160.2 kB / 23.74 MB, free: 4.586 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.488/1.488, allocations: 177.1 MB / 204 MB, free: 9.242 MB / 190.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.001976/0.001976, allocations: 65.89 kB / 324.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.09435, allocations: 53.38 MB / 378.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0339/0.1282, allocations: 24.01 MB / 402.1 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.1312, allocations: 2.018 MB / 404.2 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.1313, allocations: 0 / 404.2 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.1316, allocations: 59.59 kB / 404.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.132, allocations: 167.1 kB / 404.4 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01566/0.1477, allocations: 6.517 MB / 410.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.1482, allocations: 338.6 kB / 411.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.1482, allocations: 13.81 kB / 411.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.1485, allocations: 191.4 kB / 411.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1487, allocations: 127.5 kB / 411.6 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.1488, allocations: 12 kB / 411.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01611/0.1649, allocations: 8.979 MB / 420.6 MB, free: 5.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.165, allocations: 67.84 kB / 420.6 MB, free: 5.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.1652, allocations: 91.59 kB / 420.7 MB, free: 5.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009052/0.1742, allocations: 4.685 MB / 425.4 MB, free: 396 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1742, allocations: 0 / 425.4 MB, free: 396 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1742, allocations: 0 / 425.4 MB, free: 396 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1743, allocations: 0 / 425.4 MB, free: 396 kB / 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.003073/0.1773, allocations: 1.102 MB / 426.5 MB, free: 15.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1774, allocations: 15.98 kB / 426.5 MB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.1775, allocations: 24.22 kB / 426.5 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1779, allocations: 172.3 kB / 426.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1779, allocations: 8.328 kB / 426.7 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.1779, allocations: 19.95 kB / 426.7 MB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008288/0.1788, allocations: 392.2 kB / 427.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1788, allocations: 4 kB / 427.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.1788, allocations: 7.984 kB / 427.1 MB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.1788, allocations: 11.94 kB / 427.1 MB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008759/0.1797, allocations: 307.8 kB / 427.4 MB, free: 14.25 MB / 398.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.001474/0.1812, allocations: 0.6595 MB / 428.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000741/0.1819, allocations: 241.1 kB / 428.3 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.1823, allocations: 126.1 kB / 428.5 MB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/0.1948, allocations: 2.701 MB / 431.2 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.1949, allocations: 38.56 kB / 431.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.874e-06/0.1949, allocations: 0 / 431.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003208/0.1981, allocations: 0.7036 MB / 431.9 MB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.1981, allocations: 81.11 kB / 432 MB, free: 9.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1983, allocations: 156.8 kB / 432.1 MB, free: 9.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.1983, allocations: 33.7 kB / 432.2 MB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.1984, allocations: 112.9 kB / 432.3 MB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.1985, allocations: 126.9 kB / 432.4 MB, free: 9.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1987, allocations: 77.58 kB / 432.5 MB, free: 9.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1988, allocations: 330.8 kB / 432.8 MB, free: 8.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.1992, allocations: 135.9 kB / 432.9 MB, free: 8.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.1998, allocations: 211.5 kB / 433.1 MB, free: 8.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.2008, allocations: 362.2 kB / 433.5 MB, free: 8.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2008, allocations: 0 / 433.5 MB, free: 8.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001262/0.2021, allocations: 424.4 kB / 433.9 MB, free: 7.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2021, allocations: 4.219 kB / 433.9 MB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2021, allocations: 11.98 kB / 433.9 MB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.2021, allocations: 4 kB / 433.9 MB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.2026, allocations: 83.88 kB / 434 MB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.2026, allocations: 7.938 kB / 434 MB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.203, allocations: 31.88 kB / 434 MB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.203, allocations: 15.98 kB / 434.1 MB, free: 7.434 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.0001611/0.2032, allocations: 145.8 kB / 434.2 MB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.2033, allocations: 19.91 kB / 434.2 MB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.2038, allocations: 190.7 kB / 434.4 MB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.2038, allocations: 11.94 kB / 434.4 MB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2038, allocations: 4 kB / 434.4 MB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2038, allocations: 0 / 434.4 MB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.2056, allocations: 0.6763 MB / 435.1 MB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.2057, allocations: 4 kB / 435.1 MB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.2061, allocations: 87.81 kB / 435.2 MB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.2061, allocations: 4 kB / 435.2 MB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.2062, allocations: 8 kB / 435.2 MB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.2062, allocations: 7.984 kB / 435.2 MB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2062, allocations: 0 / 435.2 MB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.2079, allocations: 0.7187 MB / 435.9 MB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.2081, allocations: 55.73 kB / 436 MB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.2081, allocations: 16.05 kB / 436 MB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.2087, allocations: 15.98 kB / 436 MB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.2087, allocations: 31.89 kB / 436 MB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/0.2088, allocations: 23.92 kB / 436.1 MB, free: 5.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.2089, allocations: 107.2 kB / 436.2 MB, free: 5.215 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2089, allocations: 3.938 kB / 436.2 MB, free: 5.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002858/0.2117, allocations: 0.9589 MB / 437.1 MB, free: 4.25 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.003828/0.2156, allocations: 1.249 MB / 438.4 MB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.2167, allocations: 328 kB / 438.7 MB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.2167, allocations: 0 / 438.7 MB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.2172, allocations: 163.8 kB / 438.9 MB, free: 2.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.218, allocations: 108.1 kB / 439 MB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.2195, allocations: 0.61 MB / 439.6 MB, free: 1.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.2197, allocations: 141.7 kB / 439.7 MB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003732/0.22, allocations: 90.16 kB / 439.8 MB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.2202, allocations: 44.47 kB / 439.8 MB, free: 1.461 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2202, allocations: 0 / 439.8 MB, free: 1.461 MB / 398.1 MB Notification: Performance of Templates: time 0.04638/0.2666, allocations: 30.09 MB / 469.9 MB, free: 3.441 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/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: 6.559671549126506]