Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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.001849/0.001849, allocations: 91.61 kB / 20.96 MB, free: 3.453 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.001982/0.001982, allocations: 165.3 kB / 24.27 MB, free: 144 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 1.536/1.536, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.794e-05, allocations: 6.25 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1484/0.1484, allocations: 26.39 MB / 298.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.1512, allocations: 2.249 MB / 301 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1513, allocations: 2.188 kB / 301 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.1517, allocations: 60.45 kB / 301 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004603/0.1522, allocations: 168.7 kB / 301.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01597/0.1681, allocations: 6.566 MB / 307.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000617/0.1687, allocations: 348.8 kB / 308.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.1688, allocations: 7.531 kB / 308.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004111/0.1692, allocations: 191.3 kB / 308.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.1695, allocations: 116.9 kB / 308.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.1696, allocations: 12.72 kB / 308.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0144/0.184, allocations: 9.009 MB / 317.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.1841, allocations: 83.77 kB / 317.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.1842, allocations: 72.52 kB / 317.6 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.1946, allocations: 5.908 MB / 323.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1946, allocations: 0 / 323.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1946, allocations: 4 kB / 323.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1946, allocations: 0 / 323.5 MB, free: 14.23 MB / 282.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.003373/0.198, allocations: 1.186 MB / 324.7 MB, free: 13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.198, allocations: 12.03 kB / 324.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.1983, allocations: 41.16 kB / 324.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.1986, allocations: 171.8 kB / 324.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1986, allocations: 12.33 kB / 324.9 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.1987, allocations: 27.89 kB / 324.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.1994, allocations: 341.8 kB / 325.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1994, allocations: 0 / 325.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.1995, allocations: 8 kB / 325.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.1995, allocations: 4 kB / 325.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000682/0.2002, allocations: 211.2 kB / 325.5 MB, free: 12.13 MB / 282.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.002074/0.2023, allocations: 0.7348 MB / 326.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/0.203, allocations: 238.1 kB / 326.5 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.2033, allocations: 115.3 kB / 326.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.2159, allocations: 2.716 MB / 329.3 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/0.216, allocations: 41.33 kB / 329.3 MB, free: 8.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.216, allocations: 0 / 329.3 MB, free: 8.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002777/0.2187, allocations: 0.6416 MB / 330 MB, free: 7.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.2188, allocations: 81.11 kB / 330 MB, free: 7.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.219, allocations: 202.4 kB / 330.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.2191, allocations: 37.64 kB / 330.3 MB, free: 7.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2192, allocations: 163.7 kB / 330.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.2193, allocations: 130.9 kB / 330.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.2195, allocations: 87.33 kB / 330.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002845/0.2198, allocations: 0.504 MB / 331.2 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.2201, allocations: 115.9 kB / 331.3 MB, free: 6.188 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/0.2206, allocations: 221 kB / 331.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/0.2215, allocations: 353.2 kB / 331.8 MB, free: 5.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2215, allocations: 0 / 331.8 MB, free: 5.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001176/0.2227, allocations: 417 kB / 332.2 MB, free: 5.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2227, allocations: 8.625 kB / 332.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2227, allocations: 0 / 332.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2227, allocations: 4 kB / 332.2 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.2232, allocations: 83.89 kB / 332.3 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.2232, allocations: 8.875 kB / 332.3 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.2235, allocations: 23.94 kB / 332.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.2235, allocations: 12 kB / 332.4 MB, free: 5.004 MB / 282.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.0001951/0.2237, allocations: 192.5 kB / 332.6 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.2239, allocations: 55.67 kB / 332.6 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/0.2244, allocations: 178 kB / 332.8 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2245, allocations: 4 kB / 332.8 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2245, allocations: 0 / 332.8 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2245, allocations: 4 kB / 332.8 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.2264, allocations: 0.7069 MB / 333.5 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.2264, allocations: 4 kB / 333.5 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.2269, allocations: 71.89 kB / 333.6 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.2269, allocations: 11.88 kB / 333.6 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.2269, allocations: 16.14 kB / 333.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.2269, allocations: 8.812 kB / 333.6 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.2269, allocations: 4 kB / 333.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.2285, allocations: 0.7723 MB / 334.4 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.2287, allocations: 53.42 kB / 334.4 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.2287, allocations: 8 kB / 334.5 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.2291, allocations: 20.02 kB / 334.5 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.2291, allocations: 23.95 kB / 334.5 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.2292, allocations: 23.3 kB / 334.5 MB, free: 2.754 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.2293, allocations: 146.3 kB / 334.7 MB, free: 2.613 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2293, allocations: 0 / 334.7 MB, free: 2.613 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002735/0.232, allocations: 0.9705 MB / 335.6 MB, free: 1.641 MB / 282.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 (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.004605/0.2366, allocations: 1.38 MB / 337 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009555/0.2376, allocations: 319 kB / 337.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2376, allocations: 0 / 337.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.238, allocations: 176.8 kB / 337.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008144/0.2388, allocations: 133.3 kB / 337.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2403, allocations: 0.554 MB / 338.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.2404, allocations: 129.8 kB / 338.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003574/0.2408, allocations: 86.16 kB / 338.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.2409, allocations: 40.48 kB / 338.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2409, allocations: 0 / 338.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of Templates: time 0.05783/0.2988, allocations: 30.95 MB / 369.4 MB, free: 15.9 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.320515829953365]