Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 119.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001889, allocations: 207.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 58.06 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1109, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1901/0.3011, allocations: 50.66 MB / 409.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005631/0.3067, allocations: 5.193 MB / 414.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.3069, allocations: 3.688 kB / 414.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006649/0.3076, allocations: 245.1 kB / 415 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005491/0.3082, allocations: 362.5 kB / 415.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01744/0.3256, allocations: 7.126 MB / 422.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3269, allocations: 1.091 MB / 423.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.3272, allocations: 161.8 kB / 423.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00597/0.3331, allocations: 3.593 MB / 427.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/0.3336, allocations: 402.6 kB / 427.7 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.769e-05/0.3337, allocations: 60 kB / 427.8 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.3499, allocations: 9.951 MB / 437.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.3502, allocations: 219.5 kB / 437.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003949/0.3506, allocations: 310.8 kB / 438.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009121/0.3597, allocations: 5.516 MB / 443.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3597, allocations: 0 / 443.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3597, allocations: 0 / 443.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3598, allocations: 0 / 443.8 MB, free: 6.145 MB / 350.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.002506/0.3623, allocations: 1.369 MB / 445.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3623, allocations: 12.03 kB / 445.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.3626, allocations: 59.42 kB / 445.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.3632, allocations: 370.9 kB / 445.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.3632, allocations: 33 kB / 445.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.3633, allocations: 44 kB / 445.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.3645, allocations: 0.5803 MB / 446.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3645, allocations: 0 / 446.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.3646, allocations: 24 kB / 446.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3646, allocations: 8 kB / 446.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.3659, allocations: 0.7417 MB / 447 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.3811, allocations: 11.97 MB / 459 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3823, allocations: 0.5236 MB / 459.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.3826, allocations: 257 kB / 459.7 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/0.396, allocations: 11.89 MB / 471.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3961, allocations: 50.94 kB / 471.7 MB, free: 5.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.934e-06/0.3961, allocations: 0 / 471.7 MB, free: 5.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005386/0.4015, allocations: 2.121 MB / 473.8 MB, free: 3.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.4015, allocations: 59.91 kB / 473.9 MB, free: 3.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.4019, allocations: 318.9 kB / 474.2 MB, free: 3.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.4019, allocations: 37.7 kB / 474.2 MB, free: 3.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.4021, allocations: 204.3 kB / 474.4 MB, free: 2.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.4022, allocations: 189.3 kB / 474.6 MB, free: 2.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.4024, allocations: 114.1 kB / 474.7 MB, free: 2.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4025, allocations: 350.8 kB / 475 MB, free: 2.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.4029, allocations: 241 kB / 475.3 MB, free: 1.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/0.4035, allocations: 335.4 kB / 475.6 MB, free: 1.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.4046, allocations: 0.6034 MB / 476.2 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4046, allocations: 0 / 476.2 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001889/0.4065, allocations: 0.7478 MB / 477 MB, free: 232 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4065, allocations: 8 kB / 477 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4065, allocations: 288 / 477 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004579/0.407, allocations: 114.5 kB / 477.1 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.4075, allocations: 123.8 kB / 477.2 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.4098, allocations: 3.476 MB / 480.7 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.4101, allocations: 16.22 kB / 480.7 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.4102, allocations: 31.98 kB / 480.7 MB, free: 12.15 MB / 398.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.0002384/0.4104, allocations: 197.6 kB / 480.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.4107, allocations: 43.53 kB / 480.9 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.4122, allocations: 0.819 MB / 481.8 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4122, allocations: 8 kB / 481.8 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.4123, allocations: 0 / 481.8 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001101/0.4134, allocations: 0.7635 MB / 482.5 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.4154, allocations: 1.301 MB / 483.8 MB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.4154, allocations: 0 / 483.8 MB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.4158, allocations: 99.88 kB / 483.9 MB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009025/0.4167, allocations: 148.7 kB / 484.1 MB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/0.4168, allocations: 23.92 kB / 484.1 MB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000373/0.4172, allocations: 0.6485 MB / 484.8 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4172, allocations: 0 / 484.8 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.4188, allocations: 0.9131 MB / 485.7 MB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4189, allocations: 112.8 kB / 485.8 MB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.419, allocations: 12 kB / 485.8 MB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.4194, allocations: 19.98 kB / 485.8 MB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.4195, allocations: 36.39 kB / 485.8 MB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.4195, allocations: 31.97 kB / 485.9 MB, free: 6.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.4198, allocations: 253.9 kB / 486.1 MB, free: 6.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4198, allocations: 0 / 486.1 MB, free: 6.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003468/0.4233, allocations: 1.32 MB / 487.4 MB, free: 5.172 MB / 398.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.005496/0.4288, allocations: 1.692 MB / 489.1 MB, free: 3.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.4304, allocations: 0.8076 MB / 489.9 MB, free: 2.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.4304, allocations: 7.938 kB / 490 MB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.431, allocations: 287.8 kB / 490.2 MB, free: 2.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.4324, allocations: 282.8 kB / 490.5 MB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.4343, allocations: 1.088 MB / 491.6 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.4347, allocations: 0.8287 MB / 492.4 MB, free: 96 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004941/0.4352, allocations: 152.5 kB / 492.6 MB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.4354, allocations: 59.42 kB / 492.6 MB, free: 15.88 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4354, allocations: 0 / 492.6 MB, free: 15.88 MB / 414.1 MB Notification: Performance of Templates: time 0.05759/0.493, allocations: 45.08 MB / 0.5251 GB, free: 2.828 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches