Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001574/0.001574, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 59.91 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2334, allocations: 50.54 MB / 410.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06018/0.2936, allocations: 50.76 MB / 461 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00683/0.3004, allocations: 5.207 MB / 466.2 MB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.3006, allocations: 4 kB / 466.2 MB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007548/0.3014, allocations: 262.5 kB / 466.5 MB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006732/0.3021, allocations: 370 kB / 466.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01683/0.3189, allocations: 7.159 MB / 474 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.3203, allocations: 1.091 MB / 475.1 MB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.3205, allocations: 101.5 kB / 475.2 MB, free: 304 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00639/0.3269, allocations: 3.617 MB / 478.8 MB, free: 12.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.3274, allocations: 402.6 kB / 479.2 MB, free: 12.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.497e-05/0.3275, allocations: 56 kB / 479.2 MB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01739/0.3449, allocations: 9.955 MB / 489.2 MB, free: 2.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.3453, allocations: 235.4 kB / 489.4 MB, free: 2.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.3457, allocations: 306.9 kB / 489.7 MB, free: 1.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.3572, allocations: 5.526 MB / 495.2 MB, free: 12.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3572, allocations: 0 / 495.2 MB, free: 12.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3572, allocations: 0 / 495.2 MB, free: 12.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.3572, allocations: 0 / 495.2 MB, free: 12.18 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003216/0.3604, allocations: 1.41 MB / 496.7 MB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3605, allocations: 8.031 kB / 496.7 MB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.3608, allocations: 63.7 kB / 496.7 MB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.3614, allocations: 367.1 kB / 497.1 MB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.3614, allocations: 33 kB / 497.1 MB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.232e-05/0.3615, allocations: 40 kB / 497.2 MB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.3628, allocations: 0.5882 MB / 497.7 MB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.3628, allocations: 3.938 kB / 497.7 MB, free: 9.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.3629, allocations: 20 kB / 497.8 MB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.3629, allocations: 12 kB / 497.8 MB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.3643, allocations: 0.7456 MB / 498.5 MB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01738/0.3817, allocations: 11.98 MB / 0.4985 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.383, allocations: 0.5078 MB / 0.499 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.3834, allocations: 242 kB / 0.4993 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01569/0.3991, allocations: 11.9 MB / 0.5109 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.3991, allocations: 43 kB / 0.5109 GB, free: 11.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.736e-06/0.3991, allocations: 0 / 0.5109 GB, free: 11.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.005985/0.4051, allocations: 2.113 MB / 0.513 GB, free: 9.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.4052, allocations: 59.97 kB / 0.5131 GB, free: 9.438 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.4056, allocations: 326.9 kB / 0.5134 GB, free: 9.113 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.4056, allocations: 37.7 kB / 0.5134 GB, free: 9.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.4058, allocations: 200.8 kB / 0.5136 GB, free: 8.871 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.406, allocations: 202.2 kB / 0.5138 GB, free: 8.672 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.4061, allocations: 118.2 kB / 0.5139 GB, free: 8.551 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4063, allocations: 354.8 kB / 0.5142 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.4068, allocations: 233 kB / 0.5145 GB, free: 7.969 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.4075, allocations: 339.3 kB / 0.5148 GB, free: 7.602 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.4087, allocations: 0.5995 MB / 0.5154 GB, free: 6.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4087, allocations: 0 / 0.5154 GB, free: 6.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001946/0.4107, allocations: 0.7558 MB / 0.5161 GB, free: 6.199 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4107, allocations: 11.94 kB / 0.5161 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4107, allocations: 288 / 0.5161 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/0.4112, allocations: 110.5 kB / 0.5162 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.4117, allocations: 119.9 kB / 0.5163 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/0.4147, allocations: 3.472 MB / 0.5197 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.415, allocations: 20.03 kB / 0.5197 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/0.4151, allocations: 36.17 kB / 0.5198 GB, free: 2.121 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.4154, allocations: 197.6 kB / 0.52 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.4157, allocations: 47.72 kB / 0.52 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.4173, allocations: 0.8036 MB / 0.5208 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4173, allocations: 8 kB / 0.5208 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.4173, allocations: 0 / 0.5208 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/0.4185, allocations: 0.7712 MB / 0.5216 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.4208, allocations: 1.301 MB / 0.5228 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4208, allocations: 0 / 0.5228 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/0.4212, allocations: 99.81 kB / 0.5229 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009357/0.4222, allocations: 148.7 kB / 0.5231 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.4222, allocations: 19.98 kB / 0.5231 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004638/0.4227, allocations: 0.6485 MB / 0.5237 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4227, allocations: 4.031 kB / 0.5237 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.4244, allocations: 0.9133 MB / 0.5246 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4245, allocations: 113 kB / 0.5247 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.4246, allocations: 15.98 kB / 0.5247 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.425, allocations: 19.98 kB / 0.5248 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.4251, allocations: 32.39 kB / 0.5248 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.4251, allocations: 27.98 kB / 0.5248 GB, free: 12.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003118/0.4254, allocations: 253.9 kB / 0.5251 GB, free: 12.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4254, allocations: 0 / 0.5251 GB, free: 12.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004026/0.4295, allocations: 1.345 MB / 0.5264 GB, free: 11.12 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005443/0.4349, allocations: 1.719 MB / 0.528 GB, free: 9.395 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.4365, allocations: 0.7763 MB / 0.5288 GB, free: 8.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4365, allocations: 0 / 0.5288 GB, free: 8.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005629/0.4371, allocations: 279.2 kB / 0.5291 GB, free: 8.316 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.4385, allocations: 277.7 kB / 0.5293 GB, free: 8.047 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.4405, allocations: 1.109 MB / 0.5304 GB, free: 6.902 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.441, allocations: 0.8364 MB / 0.5312 GB, free: 6.039 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004828/0.4415, allocations: 148.2 kB / 0.5314 GB, free: 5.891 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.4416, allocations: 59.41 kB / 0.5314 GB, free: 5.836 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4416, allocations: 0 / 0.5314 GB, free: 5.836 MB / 462.1 MB Notification: Performance of Templates: time 0.219/0.6607, allocations: 45.24 MB / 0.5756 GB, free: 99.39 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches