Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 103.4 kB / 18.4 MB, free: 4.676 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.001281/0.001281, allocations: 191.2 kB / 19.33 MB, free: 3.754 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.231/1.231, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001191/0.001191, allocations: 51.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0696/0.0708, allocations: 46.61 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2934/0.3643, allocations: 152.7 MB / 0.5161 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007928/0.3651, allocations: 0.6067 MB / 0.5167 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.3651, allocations: 0 / 0.5167 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.3654, allocations: 59.64 kB / 0.5168 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.3658, allocations: 159.1 kB / 0.5169 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.3685, allocations: 1.07 MB / 0.518 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.3688, allocations: 326.9 kB / 0.5183 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.3688, allocations: 17.44 kB / 0.5183 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.3691, allocations: 151.1 kB / 0.5184 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.3693, allocations: 123.6 kB / 0.5186 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.3693, allocations: 12 kB / 0.5186 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.3716, allocations: 1.618 MB / 0.5202 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.164e-05/0.3717, allocations: 67.84 kB / 0.5202 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3718, allocations: 95.64 kB / 0.5203 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.373, allocations: 0.9979 MB / 0.5213 GB, free: 1.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3731, allocations: 0 / 0.5213 GB, free: 1.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3731, allocations: 0 / 0.5213 GB, free: 1.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3731, allocations: 0 / 0.5213 GB, free: 1.082 MB / 446.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.001546/0.3746, allocations: 0.6754 MB / 0.5219 GB, free: 368 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.3747, allocations: 8.031 kB / 0.522 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.3748, allocations: 28.69 kB / 0.522 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.375, allocations: 212 kB / 0.5222 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3751, allocations: 12.33 kB / 0.5222 GB, free: 68 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.3751, allocations: 19.98 kB / 0.5222 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.3757, allocations: 261.4 kB / 0.5225 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3757, allocations: 3.984 kB / 0.5225 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.3757, allocations: 12 kB / 0.5225 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.3757, allocations: 4 kB / 0.5225 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006472/0.3764, allocations: 271.7 kB / 0.5227 GB, free: 15.5 MB / 462.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.00132/0.3777, allocations: 0.789 MB / 0.5235 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.3784, allocations: 221.2 kB / 0.5237 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.3787, allocations: 137.6 kB / 0.5239 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/0.379, allocations: 356.3 kB / 0.5242 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.379, allocations: 39.44 kB / 0.5242 GB, free: 13.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.379, allocations: 3.938 kB / 0.5242 GB, free: 13.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002424/0.3815, allocations: 0.6736 MB / 0.5249 GB, free: 13.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.3815, allocations: 85.11 kB / 0.525 GB, free: 13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.3816, allocations: 121.8 kB / 0.5251 GB, free: 12.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.3816, allocations: 33.7 kB / 0.5251 GB, free: 12.83 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.3817, allocations: 104.8 kB / 0.5252 GB, free: 12.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/0.3818, allocations: 130.1 kB / 0.5253 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3819, allocations: 65.64 kB / 0.5254 GB, free: 12.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.382, allocations: 326.8 kB / 0.5257 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.3824, allocations: 143.8 kB / 0.5259 GB, free: 12.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.3828, allocations: 203.6 kB / 0.5261 GB, free: 11.83 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/0.3836, allocations: 355.4 kB / 0.5264 GB, free: 11.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3837, allocations: 0 / 0.5264 GB, free: 11.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009834/0.3846, allocations: 417.2 kB / 0.5268 GB, free: 11.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3847, allocations: 4 kB / 0.5268 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3847, allocations: 4.219 kB / 0.5268 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3847, allocations: 11.25 kB / 0.5268 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.3852, allocations: 91.86 kB / 0.5269 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.3852, allocations: 4 kB / 0.5269 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.3855, allocations: 31.81 kB / 0.5269 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.3856, allocations: 15.94 kB / 0.5269 GB, free: 10.89 MB / 462.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.0001328/0.3857, allocations: 145.7 kB / 0.5271 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.3858, allocations: 23.81 kB / 0.5271 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.3862, allocations: 167.1 kB / 0.5273 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3862, allocations: 4 kB / 0.5273 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3862, allocations: 0 / 0.5273 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3863, allocations: 124.8 kB / 0.5274 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.3864, allocations: 4 kB / 0.5274 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.3867, allocations: 23.91 kB / 0.5274 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.3868, allocations: 27.91 kB / 0.5274 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001262/0.3881, allocations: 0.5359 MB / 0.528 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001456/0.3895, allocations: 0.791 MB / 0.5287 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004158/0.39, allocations: 167.9 kB / 0.5289 GB, free: 8.828 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.117e-05/0.39, allocations: 95.27 kB / 0.529 GB, free: 8.734 MB / 462.1 MB Notification: Performance of Backend: time 3.91e-07/0.39, allocations: 0 / 0.529 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.392, allocations: 0.6723 MB / 0.5296 GB, free: 8.062 MB / 462.1 MB Notification: Performance of SimCode: time 0.0008961/0.3929, allocations: 0.8953 MB / 0.5305 GB, free: 7.121 MB / 462.1 MB Notification: Performance of Templates: time 0.01396/0.4068, allocations: 9.804 MB / 0.5401 GB, free: 13.31 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches