Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 108.4 kB / 18.36 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 47.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08111/0.08235, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03136/0.1138, allocations: 26.58 MB / 355.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.1164, allocations: 2.231 MB / 357.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.1165, allocations: 0 / 357.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1168, allocations: 67.64 kB / 357.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.1171, allocations: 151.1 kB / 357.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0135/0.1307, allocations: 6.154 MB / 363.9 MB, free: 444 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.1311, allocations: 314.6 kB / 364.2 MB, free: 128 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.1312, allocations: 17.09 kB / 364.2 MB, free: 108 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.1314, allocations: 131.6 kB / 364.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1316, allocations: 115.6 kB / 364.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1316, allocations: 15.94 kB / 364.5 MB, free: 15.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01474/0.1464, allocations: 9.401 MB / 373.9 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.1465, allocations: 67.86 kB / 374 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1467, allocations: 95.64 kB / 374.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00862/0.1553, allocations: 4.675 MB / 378.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1553, allocations: 0 / 378.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1554, allocations: 0 / 378.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1554, allocations: 0 / 378.7 MB, free: 1.582 MB / 318.1 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.002775/0.1581, allocations: 1.104 MB / 379.8 MB, free: 436 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1582, allocations: 12.03 kB / 379.8 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.1584, allocations: 28.44 kB / 379.9 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1586, allocations: 218.7 kB / 380.1 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1586, allocations: 12.33 kB / 380.1 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.1587, allocations: 16 kB / 380.1 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1292/0.2879, allocations: 283.7 kB / 380.4 MB, free: 53.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.288, allocations: 1.188 kB / 380.4 MB, free: 53.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.288, allocations: 6.812 kB / 380.4 MB, free: 53.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.2881, allocations: 6 kB / 380.4 MB, free: 53.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/0.2889, allocations: 317.7 kB / 380.7 MB, free: 53.13 MB / 318.1 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.001453/0.2904, allocations: 0.8226 MB / 381.5 MB, free: 52.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006761/0.2911, allocations: 248.6 kB / 381.8 MB, free: 52.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.2914, allocations: 134.6 kB / 381.9 MB, free: 52.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/0.3048, allocations: 12.85 MB / 394.8 MB, free: 39.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3048, allocations: 37.41 kB / 394.8 MB, free: 39.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.525e-06/0.3049, allocations: 3.828 kB / 394.8 MB, free: 39.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002763/0.3076, allocations: 0.6918 MB / 395.5 MB, free: 39.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.3077, allocations: 84.17 kB / 395.6 MB, free: 39.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.3078, allocations: 130.1 kB / 395.7 MB, free: 39.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3078, allocations: 32.45 kB / 395.7 MB, free: 39.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.3079, allocations: 111.8 kB / 395.8 MB, free: 39.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/0.308, allocations: 119 kB / 396 MB, free: 39.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.3081, allocations: 75.39 kB / 396 MB, free: 39.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.3082, allocations: 324.3 kB / 396.3 MB, free: 38.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.3086, allocations: 140.9 kB / 396.5 MB, free: 38.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.309, allocations: 207 kB / 396.7 MB, free: 38.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/0.3099, allocations: 364.5 kB / 397 MB, free: 38.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3099, allocations: 0 / 397 MB, free: 38.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001082/0.311, allocations: 421.9 kB / 397.5 MB, free: 38.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.311, allocations: 5.688 kB / 397.5 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.311, allocations: 2.828 kB / 397.5 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.311, allocations: 4.891 kB / 397.5 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.3115, allocations: 93.19 kB / 397.6 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3115, allocations: 8.125 kB / 397.6 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.3118, allocations: 33 kB / 397.6 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.3119, allocations: 15.75 kB / 397.6 MB, free: 38.16 MB / 318.1 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.0001063/0.312, allocations: 143.6 kB / 397.8 MB, free: 38.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.3121, allocations: 18.88 kB / 397.8 MB, free: 38.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.3126, allocations: 193.2 kB / 398 MB, free: 37.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3126, allocations: 4.188 kB / 398 MB, free: 37.92 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3126, allocations: 1.125 kB / 398 MB, free: 37.92 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3126, allocations: 3.5 kB / 398 MB, free: 37.92 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.3142, allocations: 0.7608 MB / 398.7 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3142, allocations: 6.188 kB / 398.7 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.3146, allocations: 75.14 kB / 398.8 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.3146, allocations: 3.531 kB / 398.8 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.3147, allocations: 18.72 kB / 398.8 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.3147, allocations: 10.28 kB / 398.8 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3147, allocations: 1.531 kB / 398.8 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.316, allocations: 0.6959 MB / 399.5 MB, free: 37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3161, allocations: 122.8 kB / 399.7 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.3162, allocations: 11.78 kB / 399.7 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.3165, allocations: 29.56 kB / 399.7 MB, free: 36.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.3166, allocations: 22.5 kB / 399.7 MB, free: 36.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.3166, allocations: 16.27 kB / 399.7 MB, free: 36.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.3167, allocations: 97.89 kB / 399.8 MB, free: 36.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3167, allocations: 0 / 399.8 MB, free: 36.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002324/0.319, allocations: 0.9282 MB / 400.8 MB, free: 36.7 MB / 318.1 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.004038/0.3231, allocations: 1.265 MB / 402 MB, free: 36.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008999/0.324, allocations: 353.6 kB / 402.4 MB, free: 36.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.324, allocations: 1.188 kB / 402.4 MB, free: 36.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.3244, allocations: 186.4 kB / 402.6 MB, free: 36.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.3251, allocations: 95.11 kB / 402.6 MB, free: 36.31 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.3264, allocations: 0.5982 MB / 403.2 MB, free: 35.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.3266, allocations: 0.7342 MB / 404 MB, free: 35.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000329/0.327, allocations: 84.58 kB / 404.1 MB, free: 35.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.3271, allocations: 46.2 kB / 404.1 MB, free: 35.18 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3271, allocations: 0 / 404.1 MB, free: 35.18 MB / 318.1 MB Notification: Performance of Templates: time 0.03083/0.358, allocations: 30.84 MB / 434.9 MB, free: 8.074 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches