Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2587, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06441/0.3232, allocations: 65.71 MB / 475.7 MB, free: 15.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006366/0.3296, allocations: 5.468 MB / 481.1 MB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003247/0.3299, allocations: 7.938 kB / 481.1 MB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009221/0.3309, allocations: 350 kB / 481.5 MB, free: 9.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009032/0.3318, allocations: 0.5049 MB / 482 MB, free: 9.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01712/0.3489, allocations: 7.432 MB / 489.4 MB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.3507, allocations: 1.551 MB / 491 MB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.3511, allocations: 208.9 kB / 491.2 MB, free: 80 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009044/0.352, allocations: 0.6269 MB / 491.8 MB, free: 15.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007688/0.3528, allocations: 0.5723 MB / 492.4 MB, free: 14.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.3529, allocations: 84 kB / 492.4 MB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01704/0.37, allocations: 10.23 MB / 0.4909 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004195/0.3704, allocations: 327.2 kB / 0.4912 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000552/0.371, allocations: 430.4 kB / 0.4916 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.3828, allocations: 5.957 MB / 0.4974 GB, free: 13.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3828, allocations: 3.938 kB / 0.4974 GB, free: 13.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3828, allocations: 0 / 0.4974 GB, free: 13.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3828, allocations: 0 / 0.4974 GB, free: 13.84 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003291/0.3861, allocations: 1.567 MB / 0.499 GB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3862, allocations: 8.031 kB / 0.499 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.3866, allocations: 83.23 kB / 0.4991 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.3872, allocations: 444.8 kB / 0.4995 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.3872, allocations: 49.31 kB / 0.4995 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/0.3873, allocations: 63.94 kB / 0.4996 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.3891, allocations: 0.8068 MB / 0.5004 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.3891, allocations: 7.906 kB / 0.5004 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.3892, allocations: 24 kB / 0.5004 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.3892, allocations: 16 kB / 0.5004 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.391, allocations: 1.024 MB / 0.5014 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01663/0.4076, allocations: 12.8 MB / 0.5139 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.4094, allocations: 0.7416 MB / 0.5146 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.4099, allocations: 410.6 kB / 0.515 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01451/0.4245, allocations: 12.24 MB / 0.527 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.4246, allocations: 47.22 kB / 0.527 GB, free: 10.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.925e-06/0.4246, allocations: 0 / 0.527 GB, free: 10.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.00954/0.4341, allocations: 3.376 MB / 0.5303 GB, free: 7.426 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.4342, allocations: 64.41 kB / 0.5304 GB, free: 7.352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.4346, allocations: 352.5 kB / 0.5307 GB, free: 6.996 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/0.4347, allocations: 49.64 kB / 0.5308 GB, free: 6.941 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.4349, allocations: 244.6 kB / 0.531 GB, free: 6.699 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.4351, allocations: 303.6 kB / 0.5313 GB, free: 6.398 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.4353, allocations: 166.5 kB / 0.5315 GB, free: 6.227 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.4355, allocations: 362.8 kB / 0.5318 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.4361, allocations: 369.8 kB / 0.5322 GB, free: 5.504 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008979/0.437, allocations: 492.2 kB / 0.5326 GB, free: 4.988 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.4388, allocations: 0.9059 MB / 0.5335 GB, free: 4.047 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4388, allocations: 0 / 0.5335 GB, free: 4.047 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002564/0.4413, allocations: 1.125 MB / 0.5346 GB, free: 2.906 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4414, allocations: 4 kB / 0.5346 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4414, allocations: 4 kB / 0.5346 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008099/0.4422, allocations: 163.5 kB / 0.5348 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.443, allocations: 191.7 kB / 0.535 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1998/0.6427, allocations: 4.104 MB / 0.539 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.6433, allocations: 21.16 kB / 0.539 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.6435, allocations: 46.03 kB / 0.539 GB, free: 130.1 MB / 462.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0004244/0.6439, allocations: 218.9 kB / 0.5392 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004666/0.6444, allocations: 58.12 kB / 0.5393 GB, free: 130 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.6472, allocations: 1.294 MB / 0.5405 GB, free: 129.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.6472, allocations: 9.844 kB / 0.5406 GB, free: 129.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6472, allocations: 1.125 kB / 0.5406 GB, free: 129.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001617/0.6488, allocations: 1.317 MB / 0.5418 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.6518, allocations: 1.97 MB / 0.5438 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6518, allocations: 5.094 kB / 0.5438 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.6524, allocations: 159.7 kB / 0.5439 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.6542, allocations: 297.3 kB / 0.5442 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/0.6542, allocations: 27.59 kB / 0.5442 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005218/0.6548, allocations: 1.288 MB / 0.5455 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6548, allocations: 3.844 kB / 0.5455 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.6569, allocations: 1.425 MB / 0.5469 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.6571, allocations: 134.1 kB / 0.547 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.902e-05/0.6572, allocations: 23.72 kB / 0.547 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.6577, allocations: 23.69 kB / 0.5471 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.6578, allocations: 51.3 kB / 0.5471 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.6579, allocations: 50.55 kB / 0.5472 GB, free: 125.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002614/0.6581, allocations: 279.5 kB / 0.5474 GB, free: 125.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6581, allocations: 0 / 0.5474 GB, free: 125.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00337/0.6615, allocations: 1.416 MB / 0.5488 GB, free: 125.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005241/0.6668, allocations: 1.727 MB / 0.5505 GB, free: 125.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.6689, allocations: 1.166 MB / 0.5516 GB, free: 124.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.669, allocations: 2.375 kB / 0.5516 GB, free: 124.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007715/0.6697, allocations: 490.4 kB / 0.5521 GB, free: 124.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.6715, allocations: 387 kB / 0.5525 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.6739, allocations: 1.706 MB / 0.5541 GB, free: 123.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.6741, allocations: 0.9068 MB / 0.555 GB, free: 122.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.6744, allocations: 99.34 kB / 0.5551 GB, free: 122.2 MB / 462.1 MB Notification: Performance of SimCode: time 3.9e-07/0.6744, allocations: 0 / 0.5551 GB, free: 122.2 MB / 462.1 MB Notification: Performance of Templates: time 0.04022/0.7146, allocations: 41.12 MB / 0.5953 GB, free: 81.03 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches