Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000861/0.0008611, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008876/0.0008876, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 8 kB / 308.4 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09256/0.09285, allocations: 51.53 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3397/0.4325, allocations: 150.4 MB / 0.4983 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.4344, allocations: 1.587 MB / 0.4999 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.4345, allocations: 0 / 0.4999 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.4349, allocations: 62.58 kB / 0.4999 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004043/0.4353, allocations: 164.3 kB / 0.5001 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.4379, allocations: 0.8933 MB / 0.501 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005489/0.4385, allocations: 0.4982 MB / 0.5015 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.4385, allocations: 9.562 kB / 0.5015 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.4388, allocations: 143.5 kB / 0.5016 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.439, allocations: 139.5 kB / 0.5017 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.4391, allocations: 15.94 kB / 0.5017 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.4419, allocations: 1.681 MB / 0.5034 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.442, allocations: 71.77 kB / 0.5035 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.4421, allocations: 121.3 kB / 0.5036 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.4432, allocations: 0.7173 MB / 0.5043 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4432, allocations: 0 / 0.5043 GB, free: 15.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4433, allocations: 4 kB / 0.5043 GB, free: 15.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.4433, allocations: 0 / 0.5043 GB, free: 15.02 MB / 430.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.445, allocations: 0.6596 MB / 0.5049 GB, free: 14.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.445, allocations: 8.031 kB / 0.5049 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.4452, allocations: 24.66 kB / 0.505 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.4455, allocations: 231.4 kB / 0.5052 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.4455, allocations: 13.55 kB / 0.5052 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.4455, allocations: 12 kB / 0.5052 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.4461, allocations: 269.4 kB / 0.5055 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4461, allocations: 0 / 0.5055 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.4462, allocations: 8 kB / 0.5055 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.4462, allocations: 8 kB / 0.5055 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.4469, allocations: 268.8 kB / 0.5057 GB, free: 13.44 MB / 430.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.001451/0.4483, allocations: 0.7976 MB / 0.5065 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.449, allocations: 225.1 kB / 0.5067 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.4493, allocations: 133.6 kB / 0.5068 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/0.4497, allocations: 360.4 kB / 0.5072 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.4497, allocations: 30.56 kB / 0.5072 GB, free: 11.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.4497, allocations: 3.844 kB / 0.5072 GB, free: 11.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002509/0.4523, allocations: 0.6837 MB / 0.5079 GB, free: 11.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.4523, allocations: 89.11 kB / 0.508 GB, free: 10.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4524, allocations: 136.5 kB / 0.5081 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.4525, allocations: 33.7 kB / 0.5081 GB, free: 10.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.4526, allocations: 112.8 kB / 0.5082 GB, free: 10.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.4527, allocations: 126.1 kB / 0.5084 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.4527, allocations: 33.7 kB / 0.5084 GB, free: 10.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.4528, allocations: 330.8 kB / 0.5087 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.4533, allocations: 135.9 kB / 0.5088 GB, free: 10 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.4537, allocations: 207.5 kB / 0.509 GB, free: 9.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000821/0.4545, allocations: 359.4 kB / 0.5094 GB, free: 9.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4545, allocations: 0 / 0.5094 GB, free: 9.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009683/0.4555, allocations: 412.1 kB / 0.5098 GB, free: 8.988 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4555, allocations: 8 kB / 0.5098 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4555, allocations: 0.875 kB / 0.5098 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4556, allocations: 4 kB / 0.5098 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.4561, allocations: 88.09 kB / 0.5099 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4561, allocations: 4 kB / 0.5099 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.4564, allocations: 39.81 kB / 0.5099 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.4565, allocations: 11.94 kB / 0.5099 GB, free: 8.836 MB / 430.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.0001526/0.4566, allocations: 145.7 kB / 0.5101 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.4567, allocations: 23.81 kB / 0.5101 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.4571, allocations: 175.4 kB / 0.5103 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4571, allocations: 9.688 kB / 0.5103 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4571, allocations: 4 kB / 0.5103 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4571, allocations: 0 / 0.5103 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.4589, allocations: 0.7789 MB / 0.511 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.4589, allocations: 4 kB / 0.511 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.4593, allocations: 75.89 kB / 0.5111 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.4594, allocations: 12.14 kB / 0.5111 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.4594, allocations: 8 kB / 0.5111 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.4594, allocations: 4 kB / 0.5111 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4594, allocations: 0 / 0.5111 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.4609, allocations: 0.7212 MB / 0.5118 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.461, allocations: 116.9 kB / 0.5119 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.4611, allocations: 8 kB / 0.512 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.4614, allocations: 24.86 kB / 0.512 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.4615, allocations: 23.91 kB / 0.512 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.4615, allocations: 15.98 kB / 0.512 GB, free: 6.555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.325e-05/0.4616, allocations: 115.7 kB / 0.5121 GB, free: 6.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4616, allocations: 0 / 0.5121 GB, free: 6.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000603/0.4622, allocations: 151.9 kB / 0.5123 GB, free: 6.297 MB / 430.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.000485/0.4627, allocations: 238.8 kB / 0.5125 GB, free: 6.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009073/0.4636, allocations: 343.4 kB / 0.5128 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4637, allocations: 4.375 kB / 0.5128 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.4641, allocations: 179.8 kB / 0.513 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000795/0.4649, allocations: 107.6 kB / 0.5131 GB, free: 5.438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.4664, allocations: 0.8085 MB / 0.5139 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4667, allocations: 0.7377 MB / 0.5146 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.4669, allocations: 43.41 kB / 0.5147 GB, free: 3.773 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4669, allocations: 0 / 0.5147 GB, free: 3.773 MB / 430.1 MB Notification: Performance of Templates: time 0.007407/0.4743, allocations: 4.73 MB / 0.5193 GB, free: 15.05 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches