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.002029/0.002029, allocations: 96.25 kB / 20.96 MB, free: 3.578 MB / 18.57 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.002496/0.002496, allocations: 160.8 kB / 24.27 MB, free: 280 kB / 18.57 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.479/1.479, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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 1.473e-06/1.473e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.597e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1508/0.1508, allocations: 23.98 MB / 296.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.1533, allocations: 2.022 MB / 298.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.539e-05/0.1534, allocations: 1.156 kB / 298.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.1538, allocations: 60.73 kB / 298.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.1542, allocations: 173.1 kB / 298.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01437/0.1685, allocations: 6.566 MB / 305 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.169, allocations: 349.3 kB / 305.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.169, allocations: 8.562 kB / 305.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.1692, allocations: 182.5 kB / 305.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1694, allocations: 125.9 kB / 305.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.1695, allocations: 11.56 kB / 305.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01315/0.1826, allocations: 9.014 MB / 314.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1827, allocations: 79.72 kB / 314.8 MB, free: 6.105 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1829, allocations: 80.33 kB / 314.8 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008475/0.1914, allocations: 5.904 MB / 320.7 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1914, allocations: 0 / 320.7 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1914, allocations: 0 / 320.7 MB, free: 112 kB / 266.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1914, allocations: 4 kB / 320.7 MB, free: 108 kB / 266.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.003331/0.1947, allocations: 1.094 MB / 321.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1947, allocations: 11.98 kB / 321.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.195, allocations: 48.52 kB / 321.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1953, allocations: 164.9 kB / 322.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1953, allocations: 8.328 kB / 322.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.1953, allocations: 27.95 kB / 322.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008766/0.1962, allocations: 392.2 kB / 322.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1962, allocations: 0.5156 kB / 322.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1963, allocations: 8 kB / 322.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.1963, allocations: 11.94 kB / 322.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000874/0.1972, allocations: 315.7 kB / 322.8 MB, free: 13.95 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.00157/0.1987, allocations: 0.6501 MB / 323.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007824/0.1995, allocations: 241.7 kB / 323.7 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.1999, allocations: 134.4 kB / 323.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/0.2126, allocations: 2.699 MB / 326.5 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.2126, allocations: 38.56 kB / 326.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.2126, allocations: 0 / 326.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.003506/0.2161, allocations: 0.7291 MB / 327.3 MB, free: 9.387 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.2162, allocations: 81.11 kB / 327.4 MB, free: 9.289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.2164, allocations: 154.2 kB / 327.5 MB, free: 9.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.2164, allocations: 29.7 kB / 327.5 MB, free: 9.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.2165, allocations: 116.9 kB / 327.7 MB, free: 8.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.2167, allocations: 126.9 kB / 327.8 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.2168, allocations: 69.67 kB / 327.8 MB, free: 8.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.217, allocations: 326.8 kB / 328.2 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.2175, allocations: 139.9 kB / 328.3 MB, free: 8.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.218, allocations: 203.6 kB / 328.5 MB, free: 8.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.2191, allocations: 368.3 kB / 328.9 MB, free: 7.699 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2191, allocations: 0.875 kB / 328.9 MB, free: 7.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001391/0.2205, allocations: 456.8 kB / 329.3 MB, free: 7.246 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.2205, allocations: 11.98 kB / 329.3 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2205, allocations: 0 / 329.3 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.2205, allocations: 8.219 kB / 329.3 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.2211, allocations: 91.88 kB / 329.4 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.2211, allocations: 4 kB / 329.4 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.2214, allocations: 27.77 kB / 329.4 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.2215, allocations: 24.86 kB / 329.5 MB, free: 7.086 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.0001924/0.2216, allocations: 149.6 kB / 329.6 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.2219, allocations: 51.61 kB / 329.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.2224, allocations: 186.9 kB / 329.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.2224, allocations: 4 kB / 329.9 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2224, allocations: 0 / 329.9 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2224, allocations: 4 kB / 329.9 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.2244, allocations: 0.6792 MB / 330.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.2244, allocations: 11.09 kB / 330.5 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.2249, allocations: 75.88 kB / 330.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.2249, allocations: 7.938 kB / 330.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.2249, allocations: 12 kB / 330.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.2249, allocations: 7.984 kB / 330.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2249, allocations: 0 / 330.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.2268, allocations: 0.7336 MB / 331.4 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.2269, allocations: 55.78 kB / 331.4 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.227, allocations: 8 kB / 331.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.2274, allocations: 20.05 kB / 331.5 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.2274, allocations: 31.89 kB / 331.5 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.2275, allocations: 15.98 kB / 331.5 MB, free: 4.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.2276, allocations: 109.8 kB / 331.6 MB, free: 4.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2276, allocations: 0 / 331.6 MB, free: 4.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002868/0.2305, allocations: 0.9627 MB / 332.6 MB, free: 3.879 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.005133/0.2356, allocations: 1.384 MB / 334 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.2367, allocations: 346.4 kB / 334.3 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.2368, allocations: 4 kB / 334.3 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007497/0.2375, allocations: 163.8 kB / 334.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/0.2383, allocations: 115.5 kB / 334.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.2398, allocations: 0.566 MB / 335.1 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.24, allocations: 133.9 kB / 335.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003751/0.2404, allocations: 91.98 kB / 335.4 MB, free: 1.035 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.2406, allocations: 40.48 kB / 335.4 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2406, allocations: 3.938 kB / 335.4 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of Templates: time 0.05289/0.2935, allocations: 30.37 MB / 365.8 MB, free: 2.703 MB / 314.7 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.396162995020859]