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.001037/0.001037, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001535/0.001535, allocations: 156.5 kB / 24.55 MB, free: 16 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.002/1.002, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.542e-06/1.542e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.867e-05, allocations: 2.312 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1598/0.1598, allocations: 26.5 MB / 299.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1622, allocations: 2.242 MB / 301.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1624, allocations: 5.219 kB / 301.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.1628, allocations: 70.3 kB / 301.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.1632, allocations: 158.7 kB / 301.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01613/0.1794, allocations: 6.581 MB / 308.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005774/0.1799, allocations: 348.5 kB / 308.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.18, allocations: 7.188 kB / 308.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.1803, allocations: 188.3 kB / 309 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1805, allocations: 117.4 kB / 309.1 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.1805, allocations: 11.12 kB / 309.1 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/0.1946, allocations: 9.022 MB / 318.1 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.1948, allocations: 79.84 kB / 318.2 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1949, allocations: 83.81 kB / 318.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.2062, allocations: 5.854 MB / 324.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2062, allocations: 4 kB / 324.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2062, allocations: 4 kB / 324.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.2062, allocations: 0 / 324.2 MB, free: 13.79 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.002881/0.2091, allocations: 1.189 MB / 325.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2092, allocations: 15.98 kB / 325.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.2094, allocations: 44.53 kB / 325.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.2096, allocations: 167.8 kB / 325.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.2096, allocations: 12.33 kB / 325.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.2097, allocations: 23.89 kB / 325.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.2102, allocations: 322.7 kB / 325.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2102, allocations: 4 kB / 325.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.2102, allocations: 4 kB / 325.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.2103, allocations: 11.98 kB / 325.9 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/0.2106, allocations: 160.4 kB / 326.1 MB, free: 11.74 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.001138/0.2118, allocations: 0.7113 MB / 326.8 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.2123, allocations: 226.9 kB / 327 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.2124, allocations: 95.27 kB / 327.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006457/0.2189, allocations: 2.707 MB / 329.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.2189, allocations: 49.38 kB / 329.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 2.485e-06/0.2189, allocations: 0 / 329.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001265/0.2202, allocations: 0.53 MB / 330.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.2202, allocations: 85.11 kB / 330.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2203, allocations: 195.8 kB / 330.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.2203, allocations: 29.7 kB / 330.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.2204, allocations: 167.6 kB / 330.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.696e-05/0.2205, allocations: 138.8 kB / 331 MB, free: 6.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.2206, allocations: 79.33 kB / 331.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2207, allocations: 0.5 MB / 331.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2208, allocations: 83.95 kB / 331.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.221, allocations: 177.1 kB / 331.8 MB, free: 5.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.2214, allocations: 280.1 kB / 332.1 MB, free: 5.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2214, allocations: 0 / 332.1 MB, free: 5.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005277/0.2219, allocations: 345 kB / 332.5 MB, free: 5.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2219, allocations: 4 kB / 332.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2219, allocations: 7.203 kB / 332.5 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2219, allocations: 7.984 kB / 332.5 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.2222, allocations: 83.83 kB / 332.6 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2222, allocations: 4 kB / 332.6 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.2223, allocations: 28.62 kB / 332.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.2224, allocations: 16.22 kB / 332.6 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.0001119/0.2225, allocations: 180.5 kB / 332.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2226, allocations: 51.66 kB / 332.8 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006448/0.2232, allocations: 169 kB / 333 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2232, allocations: 8 kB / 333 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2232, allocations: 0 / 333 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2232, allocations: 0 / 333 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000861/0.2241, allocations: 0.6436 MB / 333.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2241, allocations: 0 / 333.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.2243, allocations: 76.05 kB / 333.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.2243, allocations: 15.88 kB / 333.7 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.2243, allocations: 8 kB / 333.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2243, allocations: 7.312 kB / 333.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2243, allocations: 0 / 333.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007/0.225, allocations: 0.6665 MB / 334.4 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.2251, allocations: 59.72 kB / 334.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.2251, allocations: 12.03 kB / 334.5 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.2253, allocations: 15.98 kB / 334.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.2253, allocations: 19.97 kB / 334.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.2253, allocations: 19.98 kB / 334.5 MB, free: 2.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.03e-05/0.2254, allocations: 149.9 kB / 334.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2254, allocations: 0 / 334.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002148/0.2276, allocations: 0.9627 MB / 335.7 MB, free: 1.84 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.003364/0.2309, allocations: 1.385 MB / 337 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004279/0.2313, allocations: 255.1 kB / 337.3 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2314, allocations: 0 / 337.3 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.2315, allocations: 152.5 kB / 337.4 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.232, allocations: 111.9 kB / 337.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2332, allocations: 0.5312 MB / 338.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.462e-05/0.2333, allocations: 90.22 kB / 338.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002321/0.2335, allocations: 75.36 kB / 338.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2336, allocations: 44.47 kB / 338.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of SimCode: time 1.293e-06/0.2336, allocations: 0 / 338.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of Templates: time 0.03313/0.2668, allocations: 30.95 MB / 369.2 MB, free: 268 kB / 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=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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.119607388973236]