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.001074/0.001074, allocations: 112.5 kB / 17.68 MB, free: 5.496 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: 190.9 kB / 18.62 MB, free: 4.562 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.29/1.29, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 45.3 kB / 302 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07897/0.07999, allocations: 49.43 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1695/0.2495, allocations: 26.42 MB / 377.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.2519, allocations: 2.23 MB / 380.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.252, allocations: 2.906 kB / 380.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.2523, allocations: 63.19 kB / 380.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.2527, allocations: 150.8 kB / 380.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01443/0.2671, allocations: 6.509 MB / 386.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.2676, allocations: 318.8 kB / 387.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.2676, allocations: 8.531 kB / 387.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.2678, allocations: 131.9 kB / 387.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.268, allocations: 128.7 kB / 387.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.268, allocations: 11.03 kB / 387.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01532/0.2834, allocations: 9.502 MB / 396.9 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2835, allocations: 69.17 kB / 397 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.2837, allocations: 91.77 kB / 397.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008962/0.2926, allocations: 4.71 MB / 401.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2927, allocations: 4 kB / 401.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2927, allocations: 0 / 401.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.2927, allocations: 0 / 401.8 MB, free: 1.348 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.002589/0.2953, allocations: 1.109 MB / 402.9 MB, free: 192 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2953, allocations: 12.03 kB / 402.9 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.2955, allocations: 16.94 kB / 403 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.2957, allocations: 226.7 kB / 403.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2958, allocations: 8.328 kB / 403.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.2958, allocations: 23.92 kB / 403.2 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.2965, allocations: 285.4 kB / 403.5 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2965, allocations: 0 / 403.5 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.2966, allocations: 11.94 kB / 403.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.2966, allocations: 8 kB / 403.5 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.2973, allocations: 318 kB / 403.8 MB, free: 15.25 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.001385/0.2987, allocations: 0.8176 MB / 404.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.2994, allocations: 249.1 kB / 404.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.2997, allocations: 137.6 kB / 405 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01502/0.3148, allocations: 12.84 MB / 417.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.3149, allocations: 38.56 kB / 417.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.435e-06/0.3149, allocations: 4 kB / 417.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002803/0.3177, allocations: 0.69 MB / 418.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3177, allocations: 93.05 kB / 418.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3179, allocations: 125.8 kB / 418.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.3179, allocations: 33.7 kB / 418.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.318, allocations: 112.8 kB / 418.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.247e-05/0.3181, allocations: 122.2 kB / 419.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3182, allocations: 69.62 kB / 419.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.3183, allocations: 322.8 kB / 419.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.3187, allocations: 147.8 kB / 419.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004469/0.3191, allocations: 207.5 kB / 419.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008416/0.32, allocations: 355.5 kB / 420.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.32, allocations: 0 / 420.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001107/0.3211, allocations: 422.7 kB / 420.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3211, allocations: 8 kB / 420.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3211, allocations: 0 / 420.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3212, allocations: 4 kB / 420.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.3216, allocations: 96.03 kB / 420.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3217, allocations: 4 kB / 420.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.322, allocations: 31.77 kB / 420.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.322, allocations: 23.98 kB / 420.7 MB, free: 11.61 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.0001278/0.3221, allocations: 133.8 kB / 420.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.3223, allocations: 19.81 kB / 420.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.3228, allocations: 196.7 kB / 421.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3228, allocations: 4 kB / 421.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3228, allocations: 7.375 kB / 421.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3228, allocations: 4 kB / 421.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.3244, allocations: 0.7598 MB / 421.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3244, allocations: 0 / 421.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.3248, allocations: 75.88 kB / 421.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3248, allocations: 4 kB / 421.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.3249, allocations: 15.98 kB / 421.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.3249, allocations: 8.094 kB / 421.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3249, allocations: 11.94 kB / 421.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.3263, allocations: 0.7048 MB / 422.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.3265, allocations: 116.9 kB / 422.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.3265, allocations: 16.06 kB / 422.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.3269, allocations: 19.98 kB / 422.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.3269, allocations: 31.81 kB / 422.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.327, allocations: 15.98 kB / 422.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.897e-05/0.327, allocations: 95.27 kB / 422.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.327, allocations: 4 kB / 422.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002535/0.3296, allocations: 0.9409 MB / 423.9 MB, free: 8.309 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.003806/0.3334, allocations: 1.239 MB / 425.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009785/0.3344, allocations: 343.6 kB / 425.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3344, allocations: 4 kB / 425.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004343/0.3348, allocations: 176.2 kB / 425.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.3355, allocations: 97.84 kB / 425.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.3369, allocations: 0.6133 MB / 426.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3372, allocations: 0.7332 MB / 427.1 MB, free: 5.047 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.3375, allocations: 81.89 kB / 427.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3377, allocations: 47.34 kB / 427.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3377, allocations: 0 / 427.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of Templates: time 0.0373/0.375, allocations: 29.42 MB / 456.6 MB, free: 7.527 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 cvode -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