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.001071/0.001071, allocations: 104.8 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.3 MB, free: 9.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.81 kB / 306.2 MB, free: 0.8945 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08142/0.08261, allocations: 50.55 MB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1773/0.26, allocations: 37.78 MB / 394.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005433/0.2654, allocations: 4.628 MB / 399.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.2658, allocations: 11.44 kB / 399.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007807/0.2666, allocations: 250.4 kB / 399.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007897/0.2674, allocations: 470.2 kB / 399.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.2711, allocations: 1.391 MB / 401.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.2732, allocations: 1.964 MB / 403.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.2735, allocations: 128.5 kB / 403.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.2741, allocations: 405 kB / 403.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005113/0.2746, allocations: 430.8 kB / 404.2 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.709e-05/0.2747, allocations: 25.53 kB / 404.2 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.2762, allocations: 0.7141 MB / 404.9 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.2763, allocations: 116.9 kB / 405.1 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.2766, allocations: 258.8 kB / 405.3 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.2778, allocations: 1.034 MB / 406.3 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2778, allocations: 4 kB / 406.4 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2778, allocations: 1.375 kB / 406.4 MB, free: 7.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2778, allocations: 0 / 406.4 MB, free: 7.934 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.001084/0.2789, allocations: 0.7728 MB / 407.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.279, allocations: 9 kB / 407.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005802/0.2795, allocations: 81.84 kB / 407.2 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.2799, allocations: 329.3 kB / 407.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.28, allocations: 33.22 kB / 407.6 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.28, allocations: 37.88 kB / 407.6 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/0.2807, allocations: 477.9 kB / 408.1 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.2808, allocations: 1.75 kB / 408.1 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/0.2808, allocations: 25.48 kB / 408.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.2808, allocations: 9.719 kB / 408.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.2813, allocations: 302.4 kB / 408.4 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.295, allocations: 6.727 MB / 415.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.2955, allocations: 275.9 kB / 415.4 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.2957, allocations: 155.8 kB / 415.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/0.307, allocations: 3.885 MB / 419.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.307, allocations: 34.56 kB / 419.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.993e-06/0.307, allocations: 0 / 419.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.01263/0.3197, allocations: 2.464 MB / 421.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3197, allocations: 63.34 kB / 422 MB, free: 9.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.3201, allocations: 299.2 kB / 422.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.3201, allocations: 37.7 kB / 422.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3203, allocations: 228 kB / 422.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.3204, allocations: 161.7 kB / 422.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.3206, allocations: 102.1 kB / 422.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3207, allocations: 342.8 kB / 423.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.321, allocations: 153 kB / 423.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.3213, allocations: 276.2 kB / 423.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.322, allocations: 472.3 kB / 424 MB, free: 7.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.322, allocations: 0 / 424 MB, free: 7.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001107/0.3231, allocations: 0.5916 MB / 424.6 MB, free: 7.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3231, allocations: 15.22 kB / 424.6 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3232, allocations: 8.875 kB / 424.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008815/0.332, allocations: 1.848 MB / 426.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.3324, allocations: 107.8 kB / 426.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.3344, allocations: 2.471 MB / 429.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.3348, allocations: 32.11 kB / 429.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.3348, allocations: 20 kB / 429.1 MB, free: 2.527 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.0002165/0.335, allocations: 185.6 kB / 429.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/0.3351, allocations: 43.47 kB / 429.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.3363, allocations: 0.8512 MB / 430.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.3364, allocations: 16.08 kB / 430.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3364, allocations: 0 / 430.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009968/0.3374, allocations: 0.9535 MB / 431.2 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.3394, allocations: 1.489 MB / 432.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3394, allocations: 4.031 kB / 432.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.3397, allocations: 75.91 kB / 432.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003584/0.3433, allocations: 0.6177 MB / 433.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.3434, allocations: 15.98 kB / 433.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000961/0.3443, allocations: 1.284 MB / 434.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3444, allocations: 7.969 kB / 434.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.3459, allocations: 1.219 MB / 435.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.3461, allocations: 120.5 kB / 436 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.3462, allocations: 15.94 kB / 436 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.3465, allocations: 27.94 kB / 436 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.3466, allocations: 23.95 kB / 436.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.3466, allocations: 19.98 kB / 436.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.3468, allocations: 217.9 kB / 436.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3468, allocations: 0 / 436.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008284/0.3477, allocations: 231.9 kB / 436.5 MB, free: 10.85 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.0007211/0.3484, allocations: 275.1 kB / 436.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.3496, allocations: 0.6913 MB / 437.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3496, allocations: 0 / 437.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000969/0.3506, allocations: 440.2 kB / 437.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.3519, allocations: 228.4 kB / 438.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.354, allocations: 1.428 MB / 439.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.3544, allocations: 0.8366 MB / 440.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003265/0.3547, allocations: 76.33 kB / 440.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.3548, allocations: 39.44 kB / 440.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3548, allocations: 0 / 440.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of Templates: time 0.01943/0.3743, allocations: 12.17 MB / 452.7 MB, free: 10.67 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches