Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001681/0.001681, allocations: 211.7 kB / 19.41 MB, free: 3.668 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.42/1.42, allocations: 227.7 MB / 247.9 MB, free: 10.17 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.001891/0.001891, allocations: 67.88 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2381, allocations: 50.54 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03958/0.2776, allocations: 37.57 MB / 447.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005903/0.2835, allocations: 4.584 MB / 452.4 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.2838, allocations: 11.94 kB / 452.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.2846, allocations: 298.2 kB / 452.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008794/0.2855, allocations: 493.3 kB / 453.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004165/0.2896, allocations: 1.647 MB / 454.8 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.2912, allocations: 1.269 MB / 456.1 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.2914, allocations: 130.6 kB / 456.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005881/0.292, allocations: 478.5 kB / 456.7 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.2925, allocations: 402.4 kB / 457.1 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.2925, allocations: 47.94 kB / 457.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.294, allocations: 0.761 MB / 457.9 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.2942, allocations: 131.6 kB / 458 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.2945, allocations: 282.9 kB / 458.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.2959, allocations: 1.055 MB / 459.3 MB, free: 172 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2959, allocations: 0 / 459.3 MB, free: 172 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2959, allocations: 4 kB / 459.4 MB, free: 168 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.2959, allocations: 0 / 459.4 MB, free: 168 kB / 366.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.001321/0.2972, allocations: 0.7906 MB / 460.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2972, allocations: 8.031 kB / 460.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006089/0.2978, allocations: 76.62 kB / 460.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.2984, allocations: 347.6 kB / 460.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.2984, allocations: 33.31 kB / 460.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.176e-05/0.2985, allocations: 40.38 kB / 460.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.2992, allocations: 471.7 kB / 461.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2993, allocations: 7.875 kB / 461.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.2993, allocations: 16 kB / 461.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.2993, allocations: 12 kB / 461.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/0.2998, allocations: 303.7 kB / 461.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.3141, allocations: 6.742 MB / 468.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.3146, allocations: 259.4 kB / 468.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.3148, allocations: 136.8 kB / 468.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.3258, allocations: 3.893 MB / 472.5 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.3259, allocations: 47.09 kB / 472.5 MB, free: 1.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.3259, allocations: 0 / 472.5 MB, free: 1.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01226/0.3381, allocations: 2.46 MB / 475 MB, free: 15.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3382, allocations: 55.41 kB / 475 MB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.3385, allocations: 303.3 kB / 475.3 MB, free: 15.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.3386, allocations: 33.7 kB / 475.3 MB, free: 15.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.3387, allocations: 228.5 kB / 475.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3389, allocations: 170.6 kB / 475.7 MB, free: 14.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.339, allocations: 98.2 kB / 475.8 MB, free: 14.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3392, allocations: 346.8 kB / 476.2 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.3394, allocations: 153.1 kB / 476.3 MB, free: 14.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.3398, allocations: 279.7 kB / 476.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.3405, allocations: 476.2 kB / 477.1 MB, free: 13.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3405, allocations: 0 / 477.1 MB, free: 13.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001101/0.3416, allocations: 0.5879 MB / 477.6 MB, free: 12.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3416, allocations: 11.94 kB / 477.7 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3416, allocations: 4.469 kB / 477.7 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008306/0.3499, allocations: 1.852 MB / 479.5 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.3504, allocations: 103.9 kB / 479.6 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.3526, allocations: 2.564 MB / 482.2 MB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.3529, allocations: 16.12 kB / 482.2 MB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.3529, allocations: 20 kB / 482.2 MB, free: 7.848 MB / 398.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.0002419/0.3532, allocations: 189.5 kB / 482.4 MB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.3533, allocations: 39.77 kB / 482.4 MB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.3545, allocations: 0.8474 MB / 483.3 MB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.3545, allocations: 12 kB / 483.3 MB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.3545, allocations: 0 / 483.3 MB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/0.3556, allocations: 0.9613 MB / 484.3 MB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.3577, allocations: 1.482 MB / 485.7 MB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.3577, allocations: 0 / 485.7 MB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.358, allocations: 79.89 kB / 485.8 MB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003396/0.3614, allocations: 0.6179 MB / 486.4 MB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.3615, allocations: 19.92 kB / 486.5 MB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.3626, allocations: 1.277 MB / 487.7 MB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3626, allocations: 0 / 487.7 MB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.3642, allocations: 1.229 MB / 489 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3643, allocations: 116.8 kB / 489.1 MB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.3644, allocations: 12 kB / 489.1 MB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3646, allocations: 19.97 kB / 489.1 MB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.3647, allocations: 23.97 kB / 489.1 MB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.3647, allocations: 15.98 kB / 489.1 MB, free: 0.6523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002305/0.3649, allocations: 221.8 kB / 489.4 MB, free: 444 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3649, allocations: 4 kB / 489.4 MB, free: 440 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000755/0.3657, allocations: 235.7 kB / 489.6 MB, free: 204 kB / 398.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.0005994/0.3663, allocations: 276.6 kB / 489.9 MB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3675, allocations: 0.6672 MB / 490.5 MB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3675, allocations: 4 kB / 490.5 MB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009414/0.3685, allocations: 420.2 kB / 490.9 MB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.3697, allocations: 236.8 kB / 491.2 MB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3717, allocations: 1.25 MB / 492.4 MB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.3722, allocations: 0.8324 MB / 493.3 MB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000262/0.3724, allocations: 72.33 kB / 493.3 MB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.3725, allocations: 35.44 kB / 493.4 MB, free: 12.35 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3725, allocations: 0 / 493.4 MB, free: 12.35 MB / 414.1 MB Notification: Performance of Templates: time 0.0214/0.3939, allocations: 12.83 MB / 0.4943 GB, free: 15.6 MB / 430.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches