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.001377/0.001377, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001464/0.001464, allocations: 161.4 kB / 24.56 MB, free: 20 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.9579/0.9579, allocations: 177.1 MB / 205 MB, free: 5.297 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.242e-06/1.242e-06, allocations: 0 / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.697e-05, allocations: 5.828 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2162/0.2162, allocations: 147.4 MB / 420.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2178, allocations: 1.594 MB / 422 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.2179, allocations: 0 / 422 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.2182, allocations: 66.41 kB / 422.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.2185, allocations: 173 kB / 422.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.2205, allocations: 1.066 MB / 423.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.2208, allocations: 366.5 kB / 423.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.2208, allocations: 5.812 kB / 423.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.2211, allocations: 219.4 kB / 423.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.2212, allocations: 123.6 kB / 424 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.2213, allocations: 12 kB / 424 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.2228, allocations: 1.368 MB / 425.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.2228, allocations: 79.78 kB / 425.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.521e-05/0.2229, allocations: 79.81 kB / 425.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.2241, allocations: 1.091 MB / 426.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2241, allocations: 4 kB / 426.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2241, allocations: 4 kB / 426.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2241, allocations: 0 / 426.6 MB, free: 7.824 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.001312/0.2254, allocations: 0.7144 MB / 427.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2255, allocations: 12.02 kB / 427.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.2256, allocations: 40.78 kB / 427.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.2258, allocations: 160.5 kB / 427.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.2258, allocations: 20.27 kB / 427.6 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.2259, allocations: 19.95 kB / 427.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.2262, allocations: 326.6 kB / 427.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2262, allocations: 0 / 427.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.2262, allocations: 4 kB / 427.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.2262, allocations: 11.94 kB / 427.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.2265, allocations: 144.5 kB / 428.1 MB, free: 6.285 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.0008825/0.2274, allocations: 0.6783 MB / 428.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/0.2279, allocations: 191.1 kB / 428.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.228, allocations: 100.4 kB / 429 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.2282, allocations: 47.97 kB / 429.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2282, allocations: 45.38 kB / 429.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.2282, allocations: 0 / 429.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001/0.2292, allocations: 0.5019 MB / 429.6 MB, free: 4.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.2292, allocations: 81.11 kB / 429.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.2293, allocations: 197.8 kB / 429.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.2293, allocations: 33.7 kB / 429.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.2294, allocations: 159.7 kB / 430.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.2295, allocations: 130.9 kB / 430.2 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.2296, allocations: 75.34 kB / 430.3 MB, free: 3.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2297, allocations: 0.5001 MB / 430.8 MB, free: 3.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.2298, allocations: 79.95 kB / 430.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.2299, allocations: 180.2 kB / 431 MB, free: 3.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.2302, allocations: 280.4 kB / 431.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2302, allocations: 0 / 431.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003932/0.2306, allocations: 323 kB / 431.6 MB, free: 2.484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2306, allocations: 4 kB / 431.6 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2307, allocations: 4 kB / 431.6 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2307, allocations: 4 kB / 431.6 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.2309, allocations: 75.89 kB / 431.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2309, allocations: 7.984 kB / 431.7 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.231, allocations: 24.11 kB / 431.7 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.2311, allocations: 19.98 kB / 431.8 MB, free: 2.348 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.294e-05/0.2311, allocations: 172.5 kB / 431.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.2312, allocations: 35.84 kB / 432 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.2314, allocations: 168.1 kB / 432.1 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2314, allocations: 4 kB / 432.1 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2314, allocations: 0 / 432.1 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2314, allocations: 0 / 432.1 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.2322, allocations: 0.6397 MB / 432.8 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2322, allocations: 4.156 kB / 432.8 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.2324, allocations: 75.89 kB / 432.9 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2324, allocations: 4 kB / 432.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.2324, allocations: 8 kB / 432.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2324, allocations: 4 kB / 432.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2324, allocations: 7.938 kB / 432.9 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.233, allocations: 0.6543 MB / 433.5 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.2331, allocations: 47.89 kB / 433.6 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.2331, allocations: 8 kB / 433.6 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.2332, allocations: 12.86 kB / 433.6 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.2333, allocations: 35.88 kB / 433.6 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.2333, allocations: 19.92 kB / 433.7 MB, free: 348 kB / 378.7 MB Notification: Performance of sorting global known variables: time 4.697e-05/0.2333, allocations: 143.2 kB / 433.8 MB, free: 204 kB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2333, allocations: 3.938 kB / 433.8 MB, free: 200 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003781/0.2337, allocations: 151.7 kB / 433.9 MB, free: 48 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.1452/0.3789, allocations: 240.4 kB / 434.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.3794, allocations: 247.2 kB / 434.4 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3794, allocations: 1.469 kB / 434.4 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.3796, allocations: 143 kB / 434.6 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.3802, allocations: 111.2 kB / 434.7 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.3813, allocations: 0.5309 MB / 435.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.843e-05/0.3813, allocations: 88.84 kB / 435.3 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002228/0.3816, allocations: 73.08 kB / 435.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3817, allocations: 35.39 kB / 435.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3817, allocations: 5.125 kB / 435.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of Templates: time 0.008333/0.39, allocations: 6.55 MB / 442 MB, free: 11.62 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: 3.2117388383485377]