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.001973/0.001973, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002401/0.002401, allocations: 157.7 kB / 24.26 MB, free: 176 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.475/1.475, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.363e-06/1.363e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.45e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1574/0.1574, allocations: 23.99 MB / 296.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.1602, allocations: 2.02 MB / 298.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.1603, allocations: 1.188 kB / 298.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.1607, allocations: 61.81 kB / 298.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.1611, allocations: 174.5 kB / 298.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01566/0.1767, allocations: 6.559 MB / 305.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.1773, allocations: 349.8 kB / 305.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.1773, allocations: 11.19 kB / 305.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.1776, allocations: 191.6 kB / 305.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1778, allocations: 119.9 kB / 305.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.1778, allocations: 12.56 kB / 305.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01525/0.1931, allocations: 9.009 MB / 314.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1932, allocations: 71.8 kB / 314.9 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.1934, allocations: 84.42 kB / 314.9 MB, free: 6.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.2047, allocations: 5.909 MB / 320.9 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2047, allocations: 0 / 320.9 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.2047, allocations: 0 / 320.9 MB, free: 112 kB / 266.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.2047, allocations: 0 / 320.9 MB, free: 112 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.003682/0.2084, allocations: 1.095 MB / 321.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.2084, allocations: 12.03 kB / 322 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.2087, allocations: 44.53 kB / 322 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.209, allocations: 166.2 kB / 322.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.209, allocations: 16.33 kB / 322.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.2091, allocations: 23.89 kB / 322.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008888/0.21, allocations: 388.2 kB / 322.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.21, allocations: 3.984 kB / 322.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.21, allocations: 8 kB / 322.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.21, allocations: 4 kB / 322.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/0.2109, allocations: 311 kB / 322.9 MB, free: 13.96 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.001633/0.2125, allocations: 0.6613 MB / 323.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.2133, allocations: 245 kB / 323.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.2137, allocations: 129.5 kB / 323.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01258/0.2263, allocations: 2.705 MB / 326.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.2264, allocations: 38.56 kB / 326.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.843e-06/0.2264, allocations: 0 / 326.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.003171/0.2296, allocations: 0.7297 MB / 327.4 MB, free: 9.391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.2297, allocations: 81.11 kB / 327.5 MB, free: 9.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.2298, allocations: 146.3 kB / 327.6 MB, free: 9.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.2299, allocations: 33.7 kB / 327.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.23, allocations: 116.9 kB / 327.8 MB, free: 8.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.2301, allocations: 130.8 kB / 327.9 MB, free: 8.852 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.2303, allocations: 69.69 kB / 328 MB, free: 8.777 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.2304, allocations: 334.8 kB / 328.3 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.2309, allocations: 131.9 kB / 328.4 MB, free: 8.312 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.2314, allocations: 211.6 kB / 328.6 MB, free: 8.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.2325, allocations: 364.2 kB / 329 MB, free: 7.699 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2325, allocations: 4 kB / 329 MB, free: 7.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001324/0.2338, allocations: 444.9 kB / 329.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2338, allocations: 8.219 kB / 329.4 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2338, allocations: 4 kB / 329.4 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2338, allocations: 4 kB / 329.4 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.2344, allocations: 91.81 kB / 329.5 MB, free: 7.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.2344, allocations: 12.86 kB / 329.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.2347, allocations: 27.88 kB / 329.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.2347, allocations: 19.98 kB / 329.6 MB, free: 7.09 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.0001761/0.2349, allocations: 145.7 kB / 329.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.2351, allocations: 51.61 kB / 329.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005133/0.2356, allocations: 188.4 kB / 330 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.2356, allocations: 4 kB / 330 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2356, allocations: 4 kB / 330 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.2356, allocations: 7.875 kB / 330 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.2375, allocations: 0.6819 MB / 330.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2375, allocations: 0 / 330.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.238, allocations: 79.88 kB / 330.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.238, allocations: 11.88 kB / 330.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.238, allocations: 8.875 kB / 330.8 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.238, allocations: 4 kB / 330.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.238, allocations: 4 kB / 330.8 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.2398, allocations: 0.7378 MB / 331.5 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.24, allocations: 47.75 kB / 331.6 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.24, allocations: 16.05 kB / 331.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.2404, allocations: 22.92 kB / 331.6 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.2404, allocations: 23.95 kB / 331.6 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.2405, allocations: 19.98 kB / 331.6 MB, free: 4.957 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.655e-05/0.2406, allocations: 110.5 kB / 331.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2406, allocations: 0 / 331.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002761/0.2433, allocations: 0.9628 MB / 332.7 MB, free: 3.887 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.004148/0.2475, allocations: 1.378 MB / 334.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.2486, allocations: 336.9 kB / 334.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2486, allocations: 0 / 334.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.2491, allocations: 178.2 kB / 334.6 MB, free: 2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008073/0.2499, allocations: 123.5 kB / 334.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.2514, allocations: 0.5614 MB / 335.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.2516, allocations: 129.9 kB / 335.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003597/0.2519, allocations: 88.52 kB / 335.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.2521, allocations: 44.47 kB / 335.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.2521, allocations: 0 / 335.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of Templates: time 0.0493/0.3014, allocations: 30.38 MB / 365.9 MB, free: 2.723 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] 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.282960937009193]