Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.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.001135/0.001135, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001067/0.001067, allocations: 166 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.908/0.908, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.685e-05, allocations: 2.312 kB / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2079/0.2079, allocations: 144.7 MB / 418.1 MB, free: 0.625 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.2093, allocations: 1.581 MB / 419.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2095, allocations: 4 kB / 419.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.2098, allocations: 63.59 kB / 419.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.2102, allocations: 179.4 kB / 419.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.2122, allocations: 1.068 MB / 421 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.2125, allocations: 358.5 kB / 421.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.2125, allocations: 9.797 kB / 421.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.2127, allocations: 219.4 kB / 421.5 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.2129, allocations: 123.6 kB / 421.6 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.2129, allocations: 12 kB / 421.7 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.2149, allocations: 1.376 MB / 423 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.17e-05/0.215, allocations: 75.8 kB / 423.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.2151, allocations: 71.89 kB / 423.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.2163, allocations: 1.091 MB / 424.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2163, allocations: 0 / 424.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2163, allocations: 0 / 424.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.2163, allocations: 4 kB / 424.3 MB, free: 10.43 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.001013/0.2173, allocations: 0.7143 MB / 425 MB, free: 9.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2174, allocations: 12.03 kB / 425 MB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.2175, allocations: 36.78 kB / 425 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.2177, allocations: 168.5 kB / 425.2 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2177, allocations: 16.2 kB / 425.2 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.2177, allocations: 19.95 kB / 425.2 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.218, allocations: 314.6 kB / 425.5 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.218, allocations: 0 / 425.5 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.218, allocations: 8 kB / 425.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.218, allocations: 4 kB / 425.6 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.2182, allocations: 126.3 kB / 425.7 MB, free: 8.922 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.0007694/0.219, allocations: 0.6477 MB / 426.3 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.2192, allocations: 174.1 kB / 426.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/0.2193, allocations: 88.44 kB / 426.6 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.2194, allocations: 52.77 kB / 426.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.2195, allocations: 37.39 kB / 426.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.2195, allocations: 0 / 426.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008109/0.2203, allocations: 434.7 kB / 427.1 MB, free: 7.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2203, allocations: 85.05 kB / 427.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.2204, allocations: 200.3 kB / 427.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2204, allocations: 37.7 kB / 427.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.2205, allocations: 163.6 kB / 427.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.2205, allocations: 126.9 kB / 427.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.2206, allocations: 83.31 kB / 427.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2207, allocations: 0.4962 MB / 428.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.2208, allocations: 59.95 kB / 428.3 MB, free: 6.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.2209, allocations: 173 kB / 428.5 MB, free: 5.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.2212, allocations: 233.8 kB / 428.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2212, allocations: 3.938 kB / 428.7 MB, free: 5.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003009/0.2215, allocations: 286 kB / 429 MB, free: 5.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2215, allocations: 8.031 kB / 429 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2215, allocations: 4 kB / 429 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2215, allocations: 4 kB / 429 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.2217, allocations: 79.89 kB / 429.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2217, allocations: 7.938 kB / 429.1 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.2219, allocations: 23.92 kB / 429.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.2219, allocations: 9.719 kB / 429.1 MB, free: 5.227 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 0.0001071/0.222, allocations: 176.5 kB / 429.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.2221, allocations: 39.78 kB / 429.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.2223, allocations: 152.3 kB / 429.5 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2223, allocations: 4.688 kB / 429.5 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.2223, allocations: 0 / 429.5 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2223, allocations: 7.922 kB / 429.5 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.2232, allocations: 0.5828 MB / 430.1 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2232, allocations: 4 kB / 430.1 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.2234, allocations: 73.27 kB / 430.2 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2234, allocations: 4 kB / 430.2 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.2234, allocations: 12.16 kB / 430.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.2234, allocations: 7.984 kB / 430.2 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.2234, allocations: 7.938 kB / 430.2 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.2239, allocations: 0.608 MB / 430.8 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.224, allocations: 35.86 kB / 430.9 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.224, allocations: 12 kB / 430.9 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.2242, allocations: 20.02 kB / 430.9 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.2242, allocations: 31.83 kB / 430.9 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.2242, allocations: 8.5 kB / 430.9 MB, free: 3.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.908e-05/0.2243, allocations: 149.8 kB / 431.1 MB, free: 3.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2243, allocations: 0 / 431.1 MB, free: 3.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004425/0.2247, allocations: 151.7 kB / 431.2 MB, free: 3.047 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.0003556/0.2251, allocations: 246.6 kB / 431.5 MB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.2253, allocations: 223 kB / 431.7 MB, free: 2.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2253, allocations: 448 / 431.7 MB, free: 2.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.2254, allocations: 140.7 kB / 431.8 MB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.2259, allocations: 106.4 kB / 431.9 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008844/0.2267, allocations: 0.5407 MB / 432.5 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.27e-05/0.2268, allocations: 85.64 kB / 432.5 MB, free: 1.652 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.227, allocations: 62.27 kB / 432.6 MB, free: 1.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.2272, allocations: 170.1 kB / 432.8 MB, free: 1.426 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2272, allocations: 0 / 432.8 MB, free: 1.426 MB / 378.7 MB Notification: Performance of Templates: time 0.1333/0.3605, allocations: 7.418 MB / 440.2 MB, free: 14.16 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 2.950408896896988]