Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009016/0.0009019, allocations: 182.4 kB / 16.41 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.4 MB / 222.5 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008122/0.0008122, allocations: 94.23 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003103, allocations: 15.98 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08033/0.08066, allocations: 47.58 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2126/0.2933, allocations: 24.66 MB / 399.2 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003519/0.2968, allocations: 2.066 MB / 401.3 MB, free: 8.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.297, allocations: 1.094 kB / 401.3 MB, free: 8.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.2973, allocations: 38.5 kB / 401.3 MB, free: 8.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005132/0.2978, allocations: 146.9 kB / 401.5 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01691/0.3148, allocations: 4.561 MB / 406 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.3152, allocations: 385.7 kB / 406.4 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/0.3153, allocations: 16.33 kB / 406.4 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.3155, allocations: 121 kB / 406.5 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.3157, allocations: 130.3 kB / 406.7 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.3158, allocations: 7.375 kB / 406.7 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0136/0.3294, allocations: 8.22 MB / 414.9 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.3295, allocations: 60.97 kB / 415 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.3295, allocations: 56.45 kB / 415 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003944/0.3335, allocations: 3.004 MB / 418 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3335, allocations: 0 / 418 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3335, allocations: 0 / 418 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.3335, allocations: 0 / 418 MB, free: 0.8242 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.002854/0.3364, allocations: 1.065 MB / 419.1 MB, free: 16 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3364, allocations: 10.06 kB / 419.1 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.3366, allocations: 30.92 kB / 419.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.3369, allocations: 222 kB / 419.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3369, allocations: 10.73 kB / 419.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.3369, allocations: 12.66 kB / 419.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.3376, allocations: 296.3 kB / 419.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3377, allocations: 0 / 419.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.3377, allocations: 8 kB / 419.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3377, allocations: 8 kB / 419.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.3385, allocations: 307.8 kB / 420 MB, free: 15.23 MB / 298.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.001438/0.34, allocations: 0.8248 MB / 420.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.3406, allocations: 249.1 kB / 421 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.341, allocations: 134.5 kB / 421.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01602/0.357, allocations: 12.91 MB / 434.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.357, allocations: 34.56 kB / 434.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.663e-06/0.357, allocations: 0 / 434.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.00275/0.3598, allocations: 0.6988 MB / 434.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3599, allocations: 85.06 kB / 434.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.36, allocations: 129.7 kB / 435 MB, free: 13.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.36, allocations: 37.7 kB / 435.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.3601, allocations: 104.8 kB / 435.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.804e-05/0.3602, allocations: 126.2 kB / 435.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.3602, allocations: 4 kB / 435.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3603, allocations: 326.8 kB / 435.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.3607, allocations: 143.8 kB / 435.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.3612, allocations: 207.5 kB / 435.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.3617, allocations: 151.9 kB / 436.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3617, allocations: 0 / 436.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001152/0.3629, allocations: 409.2 kB / 436.5 MB, free: 12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3629, allocations: 11.98 kB / 436.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3629, allocations: 0 / 436.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3629, allocations: 4 kB / 436.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.3634, allocations: 95.81 kB / 436.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.3634, allocations: 7.953 kB / 436.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.3638, allocations: 32.48 kB / 436.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.3638, allocations: 23.97 kB / 436.7 MB, free: 11.83 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.364, allocations: 142.6 kB / 436.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.3641, allocations: 19.81 kB / 436.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.3646, allocations: 191.8 kB / 437 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.3646, allocations: 4 kB / 437 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3647, allocations: 3.938 kB / 437 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3647, allocations: 3.953 kB / 437 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.3664, allocations: 0.7635 MB / 437.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3664, allocations: 0 / 437.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.3668, allocations: 83.88 kB / 437.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.3669, allocations: 0 / 437.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.3669, allocations: 19.92 kB / 437.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.84e-06/0.3669, allocations: 7.938 kB / 437.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3669, allocations: 0 / 437.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.3685, allocations: 0.7068 MB / 438.6 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.3687, allocations: 120.9 kB / 438.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.3687, allocations: 8 kB / 438.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.3691, allocations: 24.05 kB / 438.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.3691, allocations: 27.95 kB / 438.8 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.3692, allocations: 16 kB / 438.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.26e-05/0.3693, allocations: 91.27 kB / 438.9 MB, free: 9.473 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3693, allocations: 0 / 438.9 MB, free: 9.473 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003113/0.3724, allocations: 0.9213 MB / 439.8 MB, free: 8.551 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005136/0.3775, allocations: 1.206 MB / 441 MB, free: 7.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009921/0.3786, allocations: 332.3 kB / 441.3 MB, free: 7.016 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.3786, allocations: 8 kB / 441.3 MB, free: 7.008 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.379, allocations: 175.7 kB / 441.5 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.3797, allocations: 92.22 kB / 441.6 MB, free: 6.746 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.3812, allocations: 0.7551 MB / 442.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3815, allocations: 0.7332 MB / 443.1 MB, free: 5.184 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.3817, allocations: 47.41 kB / 443.1 MB, free: 5.137 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3817, allocations: 0 / 443.1 MB, free: 5.137 MB / 314.7 MB Notification: Performance of Templates: time 0.02932/0.411, allocations: 20.88 MB / 464 MB, free: 236 kB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches