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.001305/0.001305, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 9.078 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.92 kB / 306.9 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09737, allocations: 50.53 MB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1967/0.2941, allocations: 37.78 MB / 395.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00583/0.3, allocations: 4.619 MB / 399.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/0.3005, allocations: 4.406 kB / 399.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008763/0.3014, allocations: 257.9 kB / 400.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008882/0.3023, allocations: 472 kB / 400.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00441/0.3068, allocations: 1.389 MB / 401.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.3091, allocations: 1.964 MB / 403.9 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.3095, allocations: 128.5 kB / 404 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009761/0.3104, allocations: 401.5 kB / 404.4 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008461/0.3113, allocations: 418.8 kB / 404.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/0.3114, allocations: 29.25 kB / 404.9 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.3134, allocations: 0.7262 MB / 405.6 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.3136, allocations: 116.5 kB / 405.7 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.3142, allocations: 262.5 kB / 406 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.3152, allocations: 0.7665 MB / 406.7 MB, free: 8.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3153, allocations: 4 kB / 406.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3153, allocations: 1.375 kB / 406.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.3153, allocations: 3.938 kB / 406.7 MB, free: 8.23 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.001511/0.3168, allocations: 0.7726 MB / 407.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3169, allocations: 10.25 kB / 407.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006292/0.3175, allocations: 81.28 kB / 407.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.318, allocations: 332.7 kB / 407.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.3181, allocations: 33.19 kB / 408 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/0.3182, allocations: 38.84 kB / 408 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007516/0.3189, allocations: 474 kB / 408.5 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.3189, allocations: 5.062 kB / 408.5 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.319, allocations: 21.06 kB / 408.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.319, allocations: 14.83 kB / 408.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.3196, allocations: 306.3 kB / 408.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/0.3337, allocations: 6.734 MB / 415.5 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.3343, allocations: 263.1 kB / 415.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.3346, allocations: 164.4 kB / 415.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.3452, allocations: 3.877 MB / 419.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.3453, allocations: 34.56 kB / 419.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.3453, allocations: 0 / 419.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.0121/0.3574, allocations: 2.46 MB / 422.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.3575, allocations: 63.34 kB / 422.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.3578, allocations: 299.2 kB / 422.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.3579, allocations: 37.7 kB / 422.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3581, allocations: 228 kB / 422.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.3582, allocations: 157.7 kB / 423.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.3583, allocations: 98.16 kB / 423.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3585, allocations: 346.8 kB / 423.5 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.3587, allocations: 153.1 kB / 423.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.3591, allocations: 283.6 kB / 423.9 MB, free: 8.645 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.3597, allocations: 476.3 kB / 424.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3597, allocations: 0 / 424.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001089/0.3608, allocations: 0.5877 MB / 425 MB, free: 7.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.3609, allocations: 11.94 kB / 425 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3609, allocations: 7.984 kB / 425 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008089/0.369, allocations: 1.856 MB / 426.9 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.3695, allocations: 111.8 kB / 427 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.3716, allocations: 2.461 MB / 429.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.3721, allocations: 36.03 kB / 429.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/0.3721, allocations: 20 kB / 429.5 MB, free: 2.859 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.0002717/0.3724, allocations: 181.6 kB / 429.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.3725, allocations: 43.47 kB / 429.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.3737, allocations: 0.859 MB / 430.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.3738, allocations: 11.98 kB / 430.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3738, allocations: 0 / 430.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009769/0.3748, allocations: 0.9535 MB / 431.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.3769, allocations: 1.485 MB / 433 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3769, allocations: 3.984 kB / 433 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.3772, allocations: 79.91 kB / 433.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003452/0.3807, allocations: 0.6217 MB / 433.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.3808, allocations: 19.97 kB / 433.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009545/0.3817, allocations: 1.28 MB / 435 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3817, allocations: 3.938 kB / 435 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.3833, allocations: 1.219 MB / 436.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.3835, allocations: 116.5 kB / 436.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.783e-05/0.3836, allocations: 16.03 kB / 436.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.3839, allocations: 23.94 kB / 436.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.384, allocations: 31.89 kB / 436.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.384, allocations: 19.98 kB / 436.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.3842, allocations: 217.9 kB / 436.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3843, allocations: 0 / 436.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008017/0.3851, allocations: 227.9 kB / 436.9 MB, free: 11.19 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.0007038/0.3858, allocations: 274.3 kB / 437.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.387, allocations: 0.6875 MB / 437.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.387, allocations: 4 kB / 437.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009193/0.388, allocations: 440.1 kB / 438.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3892, allocations: 231.5 kB / 438.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.3913, allocations: 1.46 MB / 440 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3916, allocations: 0.8405 MB / 440.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3918, allocations: 43.44 kB / 440.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3918, allocations: 0 / 440.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of Templates: time 0.01637/0.4082, allocations: 12.93 MB / 453.8 MB, free: 10.25 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