Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001087/0.001087, allocations: 114.4 kB / 17.69 MB, free: 5.312 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.00111/0.00111, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000972/0.000972, allocations: 51.27 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08226/0.08325, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1696/0.2529, allocations: 26.43 MB / 377.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.2553, allocations: 2.228 MB / 380.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.2554, allocations: 1.375 kB / 380.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.2557, allocations: 63.55 kB / 380.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.2561, allocations: 155.7 kB / 380.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01825/0.2744, allocations: 6.503 MB / 386.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006361/0.275, allocations: 308.8 kB / 387.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.2751, allocations: 17.7 kB / 387.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.2754, allocations: 133 kB / 387.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.2757, allocations: 120 kB / 387.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.2758, allocations: 11.94 kB / 387.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02427/0.3, allocations: 9.503 MB / 397 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.3003, allocations: 69.31 kB / 397 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.3005, allocations: 95.23 kB / 397.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.3132, allocations: 4.709 MB / 401.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3132, allocations: 0 / 401.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3132, allocations: 0 / 401.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3133, allocations: 0 / 401.8 MB, free: 1.375 MB / 302.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.003901/0.3172, allocations: 1.113 MB / 402.9 MB, free: 216 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3172, allocations: 12.03 kB / 402.9 MB, free: 204 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.3175, allocations: 24.94 kB / 403 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.3178, allocations: 218.7 kB / 403.2 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.3179, allocations: 12.33 kB / 403.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.3179, allocations: 16 kB / 403.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.319, allocations: 285.4 kB / 403.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.319, allocations: 0 / 403.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.3191, allocations: 18.06 kB / 403.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.3191, allocations: 7.984 kB / 403.5 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.3202, allocations: 303.8 kB / 403.8 MB, free: 15.29 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.001926/0.3222, allocations: 0.8332 MB / 404.6 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3232, allocations: 249.8 kB / 404.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.3237, allocations: 129.6 kB / 405 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02102/0.3447, allocations: 12.85 MB / 417.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.3448, allocations: 38.56 kB / 417.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.946e-06/0.3448, allocations: 0 / 417.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.00408/0.3489, allocations: 0.695 MB / 418.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.349, allocations: 85.11 kB / 418.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3491, allocations: 125.8 kB / 418.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.3492, allocations: 29.7 kB / 418.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.3493, allocations: 108.8 kB / 418.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.3494, allocations: 126.2 kB / 419.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.3496, allocations: 69.69 kB / 419.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3498, allocations: 330.8 kB / 419.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.3503, allocations: 139.8 kB / 419.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/0.3511, allocations: 215.5 kB / 419.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.3525, allocations: 355.5 kB / 420.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3525, allocations: 0 / 420.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001791/0.3543, allocations: 421.4 kB / 420.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3543, allocations: 8 kB / 420.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3544, allocations: 224 / 420.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3544, allocations: 8 kB / 420.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.3551, allocations: 91.88 kB / 420.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.3551, allocations: 4 kB / 420.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.3556, allocations: 39.06 kB / 420.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.3557, allocations: 21.89 kB / 420.7 MB, free: 11.63 MB / 334.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.0001911/0.3559, allocations: 141.8 kB / 420.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.3561, allocations: 19.81 kB / 420.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007269/0.3569, allocations: 183.2 kB / 421.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.3569, allocations: 8 kB / 421.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3569, allocations: 11.88 kB / 421.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3569, allocations: 3.984 kB / 421.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.3594, allocations: 0.7558 MB / 421.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3594, allocations: 0 / 421.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.3601, allocations: 79.89 kB / 421.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3601, allocations: 0 / 421.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.3601, allocations: 20.14 kB / 421.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3602, allocations: 0 / 421.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3602, allocations: 4 kB / 421.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.3624, allocations: 0.7132 MB / 422.7 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.3626, allocations: 117 kB / 422.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.3627, allocations: 8 kB / 422.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/0.3632, allocations: 27.91 kB / 422.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.3633, allocations: 35.75 kB / 422.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/0.3634, allocations: 19.98 kB / 422.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.695e-05/0.3635, allocations: 95.27 kB / 423 MB, free: 9.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3635, allocations: 4.062 kB / 423 MB, free: 9.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003378/0.3669, allocations: 0.9331 MB / 423.9 MB, free: 8.328 MB / 334.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.004997/0.3719, allocations: 1.243 MB / 425.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.3732, allocations: 344 kB / 425.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3732, allocations: 4 kB / 425.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.3738, allocations: 171.8 kB / 425.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.3748, allocations: 96.16 kB / 425.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3764, allocations: 0.6102 MB / 426.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.3768, allocations: 0.7371 MB / 427.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005561/0.3774, allocations: 89.83 kB / 427.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.3776, allocations: 35.41 kB / 427.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of SimCode: time 5.42e-07/0.3776, allocations: 0 / 427.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of Templates: time 0.04398/0.4216, allocations: 29.42 MB / 456.6 MB, free: 7.562 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches