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.001247/0.001247, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009474/0.0009474, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.8915/0.8915, allocations: 177.2 MB / 205 MB, free: 5.617 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.062e-06/1.062e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.286e-05, allocations: 2.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2057/0.2057, allocations: 147.4 MB / 420.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.2072, allocations: 1.596 MB / 422 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.2073, allocations: 0 / 422 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.2076, allocations: 55.66 kB / 422.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.2079, allocations: 183.7 kB / 422.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.2098, allocations: 1.067 MB / 423.3 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.21, allocations: 354.5 kB / 423.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.2101, allocations: 17.78 kB / 423.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.2103, allocations: 215.4 kB / 423.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.2105, allocations: 119.7 kB / 424 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.2105, allocations: 12 kB / 424 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.212, allocations: 1.376 MB / 425.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.212, allocations: 79.78 kB / 425.5 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.43e-05/0.2121, allocations: 75.83 kB / 425.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.2131, allocations: 1.091 MB / 426.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2132, allocations: 0 / 426.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2132, allocations: 0 / 426.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.2132, allocations: 0 / 426.6 MB, free: 8.059 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.0009775/0.2141, allocations: 0.7183 MB / 427.3 MB, free: 7.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2142, allocations: 8.031 kB / 427.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.2143, allocations: 40.78 kB / 427.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.2145, allocations: 168.5 kB / 427.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.2145, allocations: 12.27 kB / 427.6 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.2145, allocations: 27.95 kB / 427.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.2149, allocations: 326.6 kB / 427.9 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2149, allocations: 0 / 427.9 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.2149, allocations: 15.94 kB / 427.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.2149, allocations: 4 kB / 427.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.2154, allocations: 149 kB / 428.1 MB, free: 6.504 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.0008384/0.2162, allocations: 0.6783 MB / 428.8 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.2165, allocations: 186.8 kB / 428.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2166, allocations: 89.41 kB / 429 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.2168, allocations: 55.95 kB / 429.1 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.2168, allocations: 37.39 kB / 429.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.2168, allocations: 0 / 429.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009334/0.2177, allocations: 0.5065 MB / 429.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.2178, allocations: 81.11 kB / 429.7 MB, free: 4.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.816e-05/0.2178, allocations: 201.8 kB / 429.9 MB, free: 4.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.2179, allocations: 29.7 kB / 429.9 MB, free: 4.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.2179, allocations: 151.7 kB / 430.1 MB, free: 4.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.218, allocations: 138.8 kB / 430.2 MB, free: 4.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.2181, allocations: 75.34 kB / 430.3 MB, free: 4.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.2182, allocations: 0.5001 MB / 430.8 MB, free: 3.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2183, allocations: 79.95 kB / 430.9 MB, free: 3.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.2184, allocations: 185 kB / 431 MB, free: 3.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.2187, allocations: 269.3 kB / 431.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2187, allocations: 3.125 kB / 431.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003568/0.2191, allocations: 321.8 kB / 431.6 MB, free: 2.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2191, allocations: 12.22 kB / 431.6 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2191, allocations: 0 / 431.6 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2191, allocations: 4 kB / 431.6 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2193, allocations: 79.89 kB / 431.7 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2193, allocations: 4 kB / 431.7 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2194, allocations: 27.88 kB / 431.7 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.2194, allocations: 12 kB / 431.8 MB, free: 2.582 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 8.933e-05/0.2195, allocations: 180.5 kB / 431.9 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.2196, allocations: 31.84 kB / 432 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.2198, allocations: 166.2 kB / 432.1 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.2198, allocations: 4 kB / 432.1 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2198, allocations: 0 / 432.1 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2198, allocations: 3.984 kB / 432.1 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006822/0.2205, allocations: 0.6375 MB / 432.8 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2205, allocations: 0 / 432.8 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.2207, allocations: 75.89 kB / 432.8 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2207, allocations: 4 kB / 432.9 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.2207, allocations: 8 kB / 432.9 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2207, allocations: 8.156 kB / 432.9 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2207, allocations: 7.922 kB / 432.9 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.2212, allocations: 0.6491 MB / 433.5 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.2213, allocations: 43.81 kB / 433.6 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.2213, allocations: 12 kB / 433.6 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2215, allocations: 15.98 kB / 433.6 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.2215, allocations: 31.92 kB / 433.6 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.2215, allocations: 12.88 kB / 433.6 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.2216, allocations: 150.3 kB / 433.8 MB, free: 452 kB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2216, allocations: 0 / 433.8 MB, free: 452 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003462/0.2219, allocations: 155.6 kB / 433.9 MB, free: 296 kB / 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.0003051/0.2222, allocations: 250.6 kB / 434.2 MB, free: 32 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1189/0.3411, allocations: 240.6 kB / 434.4 MB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3411, allocations: 0.75 kB / 434.4 MB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.3413, allocations: 144.2 kB / 434.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.3418, allocations: 114 kB / 434.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3429, allocations: 0.5318 MB / 435.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.598e-05/0.3429, allocations: 88.14 kB / 435.3 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002138/0.3432, allocations: 76.3 kB / 435.4 MB, free: 12.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/0.3433, allocations: 35.88 kB / 435.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3433, allocations: 0 / 435.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of Templates: time 0.008713/0.352, allocations: 7.242 MB / 442.6 MB, free: 12.17 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.994217758998275]