Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.0002639, allocations: 11.98 kB / 308.4 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09399/0.09428, allocations: 51.52 MB / 359.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2045/0.2989, allocations: 36.98 MB / 396.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006497/0.3054, allocations: 4.568 MB / 401.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007099/0.3062, allocations: 8.719 kB / 401.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.3073, allocations: 245.8 kB / 401.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.3088, allocations: 473.8 kB / 402.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.3138, allocations: 1.387 MB / 403.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002675/0.3165, allocations: 1.96 MB / 405.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.3169, allocations: 128.5 kB / 405.6 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.318, allocations: 398.7 kB / 406 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.319, allocations: 422.1 kB / 406.4 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.3192, allocations: 26.31 kB / 406.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.3214, allocations: 0.7139 MB / 407.2 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.3217, allocations: 109.9 kB / 407.3 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006805/0.3224, allocations: 277.5 kB / 407.6 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.3238, allocations: 0.7628 MB / 408.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3239, allocations: 0 / 408.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3239, allocations: 1.5 kB / 408.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.979e-05/0.3239, allocations: 0 / 408.3 MB, free: 8.434 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001576/0.3255, allocations: 0.6852 MB / 409 MB, free: 7.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3255, allocations: 9.375 kB / 409 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007463/0.3263, allocations: 78.41 kB / 409.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.3269, allocations: 332 kB / 409.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.3269, allocations: 33.55 kB / 409.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.327, allocations: 37.12 kB / 409.5 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.3279, allocations: 478.9 kB / 409.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.3279, allocations: 0.875 kB / 409.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.328, allocations: 22.34 kB / 410 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.328, allocations: 9.969 kB / 410 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005799/0.3286, allocations: 310.3 kB / 410.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.3426, allocations: 6.736 MB / 417 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.3431, allocations: 271 kB / 417.3 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.3434, allocations: 153.1 kB / 417.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.3541, allocations: 3.875 MB / 421.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.3541, allocations: 39.44 kB / 421.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.735e-06/0.3542, allocations: 0 / 421.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.01273/0.3669, allocations: 2.491 MB / 423.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.367, allocations: 59.34 kB / 423.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.3673, allocations: 303.3 kB / 424.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.3674, allocations: 33.7 kB / 424.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.3676, allocations: 224 kB / 424.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.3677, allocations: 161.7 kB / 424.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.3678, allocations: 49.69 kB / 424.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3679, allocations: 354.7 kB / 425 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.3682, allocations: 161 kB / 425.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.3685, allocations: 267.7 kB / 425.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006787/0.3692, allocations: 472.3 kB / 425.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.3693, allocations: 4 kB / 425.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001188/0.3705, allocations: 0.5918 MB / 426.5 MB, free: 7.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.3705, allocations: 11.94 kB / 426.5 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3705, allocations: 4 kB / 426.5 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006854/0.3774, allocations: 0.7675 MB / 427.3 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.3779, allocations: 103.9 kB / 427.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.38, allocations: 2.471 MB / 429.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.3805, allocations: 40.02 kB / 429.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/0.3805, allocations: 23.98 kB / 429.9 MB, free: 4.188 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003065/0.3809, allocations: 181.6 kB / 430.1 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.381, allocations: 43.47 kB / 430.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.3823, allocations: 0.8513 MB / 431 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.3823, allocations: 11.98 kB / 431 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3823, allocations: 0 / 431 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/0.3833, allocations: 0.9651 MB / 431.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.3855, allocations: 1.481 MB / 433.4 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.3855, allocations: 3.984 kB / 433.4 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.3859, allocations: 75.91 kB / 433.5 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00371/0.3896, allocations: 0.6411 MB / 434.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-05/0.3897, allocations: 15.98 kB / 434.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.3907, allocations: 1.277 MB / 435.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3907, allocations: 0 / 435.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.3925, allocations: 1.23 MB / 436.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.3927, allocations: 120.9 kB / 436.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.372e-05/0.3928, allocations: 4 kB / 436.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.3932, allocations: 31.84 kB / 436.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.3932, allocations: 35.94 kB / 436.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.3933, allocations: 19.98 kB / 436.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002413/0.3935, allocations: 213.9 kB / 437.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3935, allocations: 3.938 kB / 437.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009135/0.3945, allocations: 227.9 kB / 437.3 MB, free: 12.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007484/0.3952, allocations: 271 kB / 437.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.3966, allocations: 0.6914 MB / 438.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3966, allocations: 3.938 kB / 438.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009524/0.3975, allocations: 424.3 kB / 438.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.3991, allocations: 228.7 kB / 438.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.4013, allocations: 1.566 MB / 440.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.4018, allocations: 0.8366 MB / 441.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.4019, allocations: 39.44 kB / 441.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4019, allocations: 4 kB / 441.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of Templates: time 0.01814/0.4201, allocations: 12.85 MB / 454.2 MB, free: 11.53 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches