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.001407/0.001408, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001813/0.001813, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 60.16 kB / 306.9 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.086, allocations: 50.54 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3136/0.3996, allocations: 154.5 MB / 0.4999 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.4015, allocations: 1.601 MB / 0.5015 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.837e-05/0.4017, allocations: 4 kB / 0.5015 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.402, allocations: 65.95 kB / 0.5015 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.4025, allocations: 167.3 kB / 0.5017 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.405, allocations: 1.029 MB / 0.5027 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003826/0.4054, allocations: 362.4 kB / 0.5031 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.4055, allocations: 13.55 kB / 0.5031 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.4057, allocations: 155.5 kB / 0.5032 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.406, allocations: 135.6 kB / 0.5033 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.406, allocations: 15.98 kB / 0.5034 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.4085, allocations: 1.583 MB / 0.5049 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.4087, allocations: 71.78 kB / 0.505 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.4088, allocations: 103.6 kB / 0.5051 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.4104, allocations: 1.025 MB / 0.5061 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4104, allocations: 0 / 0.5061 GB, free: 10.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4104, allocations: 0 / 0.5061 GB, free: 10.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.4105, allocations: 0 / 0.5061 GB, free: 10.48 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.00173/0.4122, allocations: 0.7025 MB / 0.5068 GB, free: 9.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.4122, allocations: 12.03 kB / 0.5068 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.4124, allocations: 24.73 kB / 0.5068 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.4126, allocations: 228.7 kB / 0.507 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4127, allocations: 16.2 kB / 0.507 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.4127, allocations: 16 kB / 0.507 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.4133, allocations: 261.4 kB / 0.5073 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4133, allocations: 4 kB / 0.5073 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.4133, allocations: 11.98 kB / 0.5073 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.4134, allocations: 8 kB / 0.5073 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006507/0.414, allocations: 272.8 kB / 0.5076 GB, free: 8.848 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.001421/0.4154, allocations: 0.7868 MB / 0.5083 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.4161, allocations: 221.1 kB / 0.5086 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.4164, allocations: 137.6 kB / 0.5087 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.4167, allocations: 356.4 kB / 0.509 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.4168, allocations: 45.03 kB / 0.5091 GB, free: 7.133 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.663e-06/0.4168, allocations: 0 / 0.5091 GB, free: 7.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002494/0.4193, allocations: 0.6794 MB / 0.5097 GB, free: 6.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.4194, allocations: 81.11 kB / 0.5098 GB, free: 6.355 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.4195, allocations: 144.7 kB / 0.5099 GB, free: 6.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.4195, allocations: 37.7 kB / 0.51 GB, free: 6.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.4196, allocations: 108.9 kB / 0.5101 GB, free: 6.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.531e-05/0.4197, allocations: 126 kB / 0.5102 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.4198, allocations: 77.58 kB / 0.5103 GB, free: 5.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4199, allocations: 326.8 kB / 0.5106 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.4203, allocations: 135.7 kB / 0.5107 GB, free: 5.391 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.4208, allocations: 207.6 kB / 0.5109 GB, free: 5.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008216/0.4216, allocations: 367.3 kB / 0.5113 GB, free: 4.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4216, allocations: 0 / 0.5113 GB, free: 4.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009865/0.4226, allocations: 408.1 kB / 0.5117 GB, free: 4.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4226, allocations: 8 kB / 0.5117 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4226, allocations: 0 / 0.5117 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4227, allocations: 7.984 kB / 0.5117 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.4231, allocations: 83.89 kB / 0.5118 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4232, allocations: 16.14 kB / 0.5118 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.4235, allocations: 23.89 kB / 0.5118 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.4235, allocations: 23.92 kB / 0.5118 GB, free: 4.211 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.0001366/0.4237, allocations: 141.7 kB / 0.5119 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.4238, allocations: 15.81 kB / 0.512 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.4241, allocations: 178.7 kB / 0.5121 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.4242, allocations: 4 kB / 0.5121 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4242, allocations: 3.938 kB / 0.5121 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4242, allocations: 7.984 kB / 0.5121 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.4259, allocations: 0.7789 MB / 0.5129 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4259, allocations: 0 / 0.5129 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.4264, allocations: 79.88 kB / 0.513 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.4264, allocations: 4 kB / 0.513 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.4264, allocations: 8 kB / 0.513 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.4264, allocations: 7.938 kB / 0.513 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4265, allocations: 4.156 kB / 0.513 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.4279, allocations: 0.714 MB / 0.5137 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.428, allocations: 124.8 kB / 0.5138 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.4281, allocations: 8.062 kB / 0.5138 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.4285, allocations: 23.97 kB / 0.5139 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.4285, allocations: 23.97 kB / 0.5139 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.4285, allocations: 16 kB / 0.5139 GB, free: 1.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.068e-05/0.4286, allocations: 113.8 kB / 0.514 GB, free: 1.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4286, allocations: 0 / 0.514 GB, free: 1.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005773/0.4292, allocations: 147.9 kB / 0.5141 GB, free: 1.676 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.0004741/0.4297, allocations: 238.9 kB / 0.5144 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009594/0.4307, allocations: 367.3 kB / 0.5147 GB, free: 1.074 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4307, allocations: 0 / 0.5147 GB, free: 1.074 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.4311, allocations: 180.5 kB / 0.5149 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007567/0.4319, allocations: 111.7 kB / 0.515 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.4334, allocations: 0.6384 MB / 0.5156 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.4337, allocations: 0.749 MB / 0.5164 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003752/0.4341, allocations: 74.25 kB / 0.5164 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.4342, allocations: 35.41 kB / 0.5165 GB, free: 15.24 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4342, allocations: 0 / 0.5165 GB, free: 15.24 MB / 446.1 MB Notification: Performance of Templates: time 0.01131/0.4455, allocations: 6.322 MB / 0.5226 GB, free: 8.969 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/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_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches