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.0013/0.0013, allocations: 111.1 kB / 17.28 MB, free: 6.199 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.0014/0.0014, allocations: 197.3 kB / 18.21 MB, free: 5.273 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.345/1.345, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 48.45 kB / 300.8 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.103, allocations: 49.45 MB / 350.2 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3282/0.4313, allocations: 149.3 MB / 499.6 MB, free: 15.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.4336, allocations: 1.607 MB / 0.4894 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.4338, allocations: 0 / 0.4894 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.4342, allocations: 47.78 kB / 0.4895 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.4347, allocations: 140.5 kB / 0.4896 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.438, allocations: 0.9357 MB / 0.4905 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.4385, allocations: 322.9 kB / 0.4908 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.182e-05/0.4385, allocations: 18.83 kB / 0.4908 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.4389, allocations: 151.5 kB / 0.491 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.4392, allocations: 123.6 kB / 0.4911 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.527e-05/0.4392, allocations: 12 kB / 0.4911 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.442, allocations: 1.603 MB / 0.4927 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4421, allocations: 67.83 kB / 0.4927 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.4423, allocations: 91.66 kB / 0.4928 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.4436, allocations: 0.6939 MB / 0.4935 GB, free: 9.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4436, allocations: 0 / 0.4935 GB, free: 9.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4436, allocations: 0 / 0.4935 GB, free: 9.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.4436, allocations: 0 / 0.4935 GB, free: 9.945 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.002129/0.4458, allocations: 0.6753 MB / 0.4942 GB, free: 9.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4458, allocations: 8.031 kB / 0.4942 GB, free: 9.215 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.446, allocations: 20.84 kB / 0.4942 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.4463, allocations: 219.5 kB / 0.4944 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.4463, allocations: 16.33 kB / 0.4944 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.4464, allocations: 16 kB / 0.4944 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.447, allocations: 262.2 kB / 0.4947 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.447, allocations: 0 / 0.4947 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.4471, allocations: 8 kB / 0.4947 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.4471, allocations: 11.94 kB / 0.4947 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006626/0.4478, allocations: 267.5 kB / 0.495 GB, free: 8.367 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.001553/0.4493, allocations: 0.7974 MB / 0.4957 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/0.45, allocations: 217.1 kB / 0.4959 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.4504, allocations: 142.1 kB / 0.4961 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003837/0.4508, allocations: 356.4 kB / 0.4964 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4508, allocations: 38.56 kB / 0.4965 GB, free: 6.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.684e-06/0.4508, allocations: 0 / 0.4965 GB, free: 6.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002622/0.4534, allocations: 0.6721 MB / 0.4971 GB, free: 5.977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.4535, allocations: 81.11 kB / 0.4972 GB, free: 5.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4537, allocations: 121.8 kB / 0.4973 GB, free: 5.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.4537, allocations: 33.7 kB / 0.4973 GB, free: 5.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.4538, allocations: 108.8 kB / 0.4974 GB, free: 5.602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.4539, allocations: 122.2 kB / 0.4976 GB, free: 5.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.454, allocations: 73.59 kB / 0.4976 GB, free: 5.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4542, allocations: 330.8 kB / 0.4979 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.4545, allocations: 131.9 kB / 0.4981 GB, free: 4.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.4549, allocations: 211.5 kB / 0.4983 GB, free: 4.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.4558, allocations: 362 kB / 0.4986 GB, free: 4.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4558, allocations: 0 / 0.4986 GB, free: 4.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009296/0.4567, allocations: 403.8 kB / 0.499 GB, free: 3.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4568, allocations: 7.938 kB / 0.499 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4568, allocations: 4 kB / 0.499 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4568, allocations: 4 kB / 0.499 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.4573, allocations: 87.88 kB / 0.4991 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.4573, allocations: 7.984 kB / 0.4991 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.4576, allocations: 28.14 kB / 0.4991 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.4577, allocations: 23.92 kB / 0.4992 GB, free: 3.77 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.0001412/0.4578, allocations: 141.7 kB / 0.4993 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.4579, allocations: 16.19 kB / 0.4993 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.4583, allocations: 174.4 kB / 0.4995 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.4583, allocations: 4 kB / 0.4995 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4583, allocations: 4 kB / 0.4995 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4584, allocations: 7.922 kB / 0.4995 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.46, allocations: 0.7596 MB / 0.5002 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.46, allocations: 4 kB / 0.5002 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.4605, allocations: 75.89 kB / 0.5003 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.4605, allocations: 4 kB / 0.5003 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.4605, allocations: 11.98 kB / 0.5003 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.4606, allocations: 4 kB / 0.5003 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4606, allocations: 160 / 0.5003 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.4619, allocations: 0.7107 MB / 0.501 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.4621, allocations: 120.9 kB / 0.5011 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.4621, allocations: 12.05 kB / 0.5011 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.4625, allocations: 27.92 kB / 0.5012 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.4626, allocations: 19.97 kB / 0.5012 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.4626, allocations: 19.98 kB / 0.5012 GB, free: 1.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.4627, allocations: 91.27 kB / 0.5013 GB, free: 1.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.655e-06/0.4627, allocations: 0 / 0.5013 GB, free: 1.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006332/0.4633, allocations: 143.9 kB / 0.5014 GB, free: 1.293 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.0005501/0.4639, allocations: 234.9 kB / 0.5017 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009668/0.4649, allocations: 364.7 kB / 0.502 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4649, allocations: 0 / 0.502 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.4653, allocations: 188.3 kB / 0.5022 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.466, allocations: 86.95 kB / 0.5023 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.4675, allocations: 0.7276 MB / 0.503 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4679, allocations: 0.7332 MB / 0.5037 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.4681, allocations: 35.41 kB / 0.5037 GB, free: 14.88 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4681, allocations: 0 / 0.5037 GB, free: 14.88 MB / 430.1 MB Notification: Performance of Templates: time 0.007953/0.476, allocations: 4.374 MB / 0.508 GB, free: 10.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/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