Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_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.001419/0.001419, allocations: 112.3 kB / 16.62 MB, free: 6.812 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.001573/0.001573, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.282/1.282, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 47.42 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08288/0.08392, allocations: 49.45 MB / 349.6 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2772/0.3612, allocations: 149.3 MB / 498.9 MB, free: 15.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.3629, allocations: 1.601 MB / 0.4888 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.3629, allocations: 0 / 0.4888 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.3633, allocations: 62.41 kB / 0.4888 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.3636, allocations: 142.4 kB / 0.489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.3661, allocations: 0.9267 MB / 0.4899 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.3665, allocations: 322.9 kB / 0.4902 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.3665, allocations: 14.8 kB / 0.4902 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.3668, allocations: 155.5 kB / 0.4903 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.367, allocations: 131.5 kB / 0.4905 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.367, allocations: 12 kB / 0.4905 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.3692, allocations: 1.595 MB / 0.492 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.742e-05/0.3693, allocations: 67.84 kB / 0.4921 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.3694, allocations: 95.64 kB / 0.4922 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.3707, allocations: 1.037 MB / 0.4932 GB, free: 9.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3707, allocations: 0 / 0.4932 GB, free: 9.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3707, allocations: 0 / 0.4932 GB, free: 9.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3707, allocations: 0 / 0.4932 GB, free: 9.613 MB / 414.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.001704/0.3724, allocations: 0.6714 MB / 0.4938 GB, free: 8.895 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3725, allocations: 8.031 kB / 0.4939 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.3726, allocations: 20.83 kB / 0.4939 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3728, allocations: 215.5 kB / 0.4941 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3729, allocations: 12.33 kB / 0.4941 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.3729, allocations: 16 kB / 0.4941 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.3735, allocations: 273.3 kB / 0.4944 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3735, allocations: 0 / 0.4944 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.3735, allocations: 8.875 kB / 0.4944 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.3736, allocations: 8 kB / 0.4944 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006388/0.3742, allocations: 263.8 kB / 0.4946 GB, free: 8.039 MB / 414.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.001402/0.3756, allocations: 0.7935 MB / 0.4954 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/0.3763, allocations: 221.8 kB / 0.4956 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.3766, allocations: 137.6 kB / 0.4958 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/0.3769, allocations: 352.4 kB / 0.4961 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.377, allocations: 41.19 kB / 0.4961 GB, free: 6.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.603e-06/0.377, allocations: 0 / 0.4961 GB, free: 6.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002491/0.3795, allocations: 0.683 MB / 0.4968 GB, free: 5.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.3795, allocations: 85.05 kB / 0.4969 GB, free: 5.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.3796, allocations: 124.9 kB / 0.497 GB, free: 5.414 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.3797, allocations: 29.7 kB / 0.497 GB, free: 5.379 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.3797, allocations: 108.8 kB / 0.4971 GB, free: 5.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.3798, allocations: 122.2 kB / 0.4972 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.38, allocations: 73.58 kB / 0.4973 GB, free: 5.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3801, allocations: 326.8 kB / 0.4976 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.3805, allocations: 139.8 kB / 0.4978 GB, free: 4.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.3809, allocations: 203.6 kB / 0.498 GB, free: 4.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/0.3817, allocations: 361.1 kB / 0.4983 GB, free: 4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3817, allocations: 0 / 0.4983 GB, free: 4 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009358/0.3826, allocations: 401.1 kB / 0.4987 GB, free: 3.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3826, allocations: 12.22 kB / 0.4987 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3826, allocations: 0 / 0.4987 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3827, allocations: 7.984 kB / 0.4987 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.3832, allocations: 79.89 kB / 0.4988 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3832, allocations: 11.92 kB / 0.4988 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.3835, allocations: 31.92 kB / 0.4988 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.3836, allocations: 19.92 kB / 0.4988 GB, free: 3.441 MB / 414.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.0001308/0.3837, allocations: 137.8 kB / 0.499 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.3838, allocations: 15.81 kB / 0.499 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.3841, allocations: 174.4 kB / 0.4991 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3842, allocations: 4 kB / 0.4992 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3842, allocations: 0 / 0.4992 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3842, allocations: 3.984 kB / 0.4992 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.3858, allocations: 0.7714 MB / 0.4999 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3858, allocations: 384 / 0.4999 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.3863, allocations: 75.89 kB / 0.5 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.3863, allocations: 7.984 kB / 0.5 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.3864, allocations: 11.94 kB / 0.5 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3864, allocations: 7.938 kB / 0.5 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3864, allocations: 0 / 0.5 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.3877, allocations: 0.7147 MB / 0.5007 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3878, allocations: 120.8 kB / 0.5008 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.3879, allocations: 8 kB / 0.5008 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.3883, allocations: 20.05 kB / 0.5008 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.3883, allocations: 35.89 kB / 0.5009 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.3884, allocations: 11.98 kB / 0.5009 GB, free: 1.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.386e-05/0.3884, allocations: 99.27 kB / 0.501 GB, free: 1.094 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3884, allocations: 0 / 0.501 GB, free: 1.094 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005584/0.389, allocations: 139.9 kB / 0.5011 GB, free: 0.957 MB / 414.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 (38): * Single equations (assignments): 38 * 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.0004331/0.3894, allocations: 223.6 kB / 0.5013 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008955/0.3903, allocations: 362.4 kB / 0.5017 GB, free: 388 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3904, allocations: 0 / 0.5017 GB, free: 388 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.3908, allocations: 190.7 kB / 0.5019 GB, free: 200 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006868/0.3915, allocations: 98.64 kB / 0.502 GB, free: 104 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3928, allocations: 0.6839 MB / 0.5026 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3932, allocations: 0.741 MB / 0.5033 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004047/0.3936, allocations: 77.88 kB / 0.5034 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3937, allocations: 35.36 kB / 0.5035 GB, free: 14.5 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3937, allocations: 0 / 0.5035 GB, free: 14.5 MB / 430.1 MB Notification: Performance of Templates: time 0.009708/0.4034, allocations: 5.878 MB / 0.5092 GB, free: 8.676 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches