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.001861/0.001861, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001954/0.001954, allocations: 160.8 kB / 24.27 MB, free: 156 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.55/1.55, allocations: 177 MB / 204.5 MB, free: 5.602 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 2.094e-06/2.094e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.454e-05/3.663e-05, allocations: 5.125 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1706/0.1707, allocations: 26.39 MB / 298.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1733, allocations: 2.244 MB / 300.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.1734, allocations: 1.375 kB / 300.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.1737, allocations: 63.03 kB / 300.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.174, allocations: 166.7 kB / 301.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01422/0.1883, allocations: 6.578 MB / 307.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.1887, allocations: 349 kB / 308 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.1887, allocations: 6.938 kB / 308 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.189, allocations: 187.5 kB / 308.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.1892, allocations: 118.1 kB / 308.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.1892, allocations: 11.09 kB / 308.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/0.2023, allocations: 9.015 MB / 317.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.2024, allocations: 71.8 kB / 317.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.2026, allocations: 72.39 kB / 317.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.2137, allocations: 5.916 MB / 323.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.2137, allocations: 8 kB / 323.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2137, allocations: 0 / 323.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.2137, allocations: 0 / 323.4 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.003295/0.217, allocations: 1.174 MB / 324.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2171, allocations: 19.98 kB / 324.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.2173, allocations: 48.52 kB / 324.6 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.2176, allocations: 167.7 kB / 324.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2176, allocations: 14.45 kB / 324.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.2177, allocations: 23.95 kB / 324.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/0.2184, allocations: 333.9 kB / 325.1 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2184, allocations: 3.938 kB / 325.1 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.2185, allocations: 8 kB / 325.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.2185, allocations: 8 kB / 325.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.2192, allocations: 213.5 kB / 325.4 MB, free: 12.12 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.001598/0.2207, allocations: 0.7338 MB / 326.1 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.2215, allocations: 238.2 kB / 326.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.2218, allocations: 115.2 kB / 326.5 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/0.2343, allocations: 2.713 MB / 329.2 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.2344, allocations: 49.38 kB / 329.2 MB, free: 8.199 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.804e-06/0.2344, allocations: 0 / 329.2 MB, free: 8.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002699/0.2371, allocations: 0.6283 MB / 329.8 MB, free: 7.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.2371, allocations: 81.11 kB / 329.9 MB, free: 7.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.2374, allocations: 214.3 kB / 330.1 MB, free: 7.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.2374, allocations: 33.7 kB / 330.2 MB, free: 7.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2375, allocations: 163.7 kB / 330.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.2377, allocations: 138.9 kB / 330.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.2378, allocations: 79.28 kB / 330.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002926/0.2381, allocations: 0.5079 MB / 331 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.2385, allocations: 115.9 kB / 331.2 MB, free: 6.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.239, allocations: 213.1 kB / 331.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000884/0.2398, allocations: 356.4 kB / 331.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2398, allocations: 0 / 331.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00116/0.241, allocations: 420.7 kB / 332.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.241, allocations: 8 kB / 332.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.241, allocations: 0 / 332.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.241, allocations: 4 kB / 332.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.2415, allocations: 88.69 kB / 332.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.2415, allocations: 4 kB / 332.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.2418, allocations: 19.95 kB / 332.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.2418, allocations: 16.2 kB / 332.3 MB, free: 5 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.0001893/0.242, allocations: 192.4 kB / 332.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.2422, allocations: 51.67 kB / 332.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.2428, allocations: 184.6 kB / 332.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2428, allocations: 8 kB / 332.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2428, allocations: 0 / 332.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.2428, allocations: 3.984 kB / 332.7 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.2445, allocations: 0.7004 MB / 333.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.2445, allocations: 4 kB / 333.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.245, allocations: 72.05 kB / 333.5 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.245, allocations: 11.94 kB / 333.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.245, allocations: 15.98 kB / 333.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.245, allocations: 2.938 kB / 333.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.245, allocations: 7.938 kB / 333.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.2466, allocations: 0.7704 MB / 334.3 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.2468, allocations: 51.78 kB / 334.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.2468, allocations: 12.03 kB / 334.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.2471, allocations: 12 kB / 334.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.2472, allocations: 27.95 kB / 334.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.2472, allocations: 15.98 kB / 334.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.2473, allocations: 153.6 kB / 334.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2473, allocations: 4 kB / 334.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002791/0.2501, allocations: 0.9588 MB / 335.5 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.004057/0.2542, allocations: 1.381 MB / 336.9 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009574/0.2552, allocations: 324.2 kB / 337.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2552, allocations: 0 / 337.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.2556, allocations: 175 kB / 337.4 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.0007948/0.2564, allocations: 113.9 kB / 337.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.2578, allocations: 0.5618 MB / 338 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.2579, allocations: 129.8 kB / 338.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003395/0.2583, allocations: 82.17 kB / 338.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.2585, allocations: 44.47 kB / 338.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2585, allocations: 0 / 338.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of Templates: time 0.05231/0.3108, allocations: 30.94 MB / 369.2 MB, free: 15.9 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] 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.319810422952287]