Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001473/0.001473, allocations: 114.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001728, allocations: 204.5 kB / 19.36 MB, free: 3.746 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 / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.91 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09143, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1778/0.2692, allocations: 27.09 MB / 386 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003877/0.2732, allocations: 4.171 MB / 390.2 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.2734, allocations: 4.438 kB / 390.2 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006103/0.2741, allocations: 206.5 kB / 390.4 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006116/0.2747, allocations: 340.2 kB / 390.7 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.2784, allocations: 1.466 MB / 392.2 MB, free: 2.387 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.2795, allocations: 0.8838 MB / 393.1 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.2797, allocations: 110.8 kB / 393.2 MB, free: 1.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005804/0.2855, allocations: 4.05 MB / 397.2 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.2859, allocations: 275.3 kB / 397.5 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.2859, allocations: 31.44 kB / 397.5 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.2874, allocations: 0.7251 MB / 398.2 MB, free: 280 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2875, allocations: 97.38 kB / 398.3 MB, free: 204 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.2877, allocations: 190.3 kB / 398.5 MB, free: 96 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.289, allocations: 0.8513 MB / 399.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.289, allocations: 0 / 399.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.289, allocations: 4 kB / 399.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.289, allocations: 1.375 kB / 399.4 MB, free: 15.54 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001011/0.29, allocations: 0.6515 MB / 400 MB, free: 14.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2901, allocations: 9.625 kB / 400 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004784/0.2906, allocations: 53.55 kB / 400.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.291, allocations: 298.2 kB / 400.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.2911, allocations: 19.94 kB / 400.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.2911, allocations: 24.88 kB / 400.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.2916, allocations: 350.2 kB / 400.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.2916, allocations: 1.062 kB / 400.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.2917, allocations: 12.44 kB / 400.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.2917, allocations: 10.7 kB / 400.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.292, allocations: 208.9 kB / 401 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.3047, allocations: 5.911 MB / 406.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.305, allocations: 187.9 kB / 407.1 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.3052, allocations: 96.48 kB / 407.2 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.3155, allocations: 3.87 MB / 411.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.3156, allocations: 46.55 kB / 411.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.294e-06/0.3156, allocations: 0 / 411.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006278/0.3219, allocations: 1.408 MB / 412.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.322, allocations: 55.41 kB / 412.6 MB, free: 4.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.3223, allocations: 266.5 kB / 412.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3223, allocations: 29.7 kB / 412.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3225, allocations: 184.1 kB / 413 MB, free: 4.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.726e-05/0.3225, allocations: 90.73 kB / 413.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3226, allocations: 69.61 kB / 413.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3228, allocations: 338.8 kB / 413.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3229, allocations: 95.95 kB / 413.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.3232, allocations: 178.8 kB / 413.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.3236, allocations: 319.4 kB / 414.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3236, allocations: 4 kB / 414.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000654/0.3242, allocations: 390.7 kB / 414.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3243, allocations: 8 kB / 414.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3243, allocations: 4 kB / 414.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003965/0.3282, allocations: 0.936 MB / 415.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.3285, allocations: 70.22 kB / 415.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.3301, allocations: 1.974 MB / 417.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.3303, allocations: 12.03 kB / 417.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.3303, allocations: 15.94 kB / 417.5 MB, free: 15.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.3305, allocations: 157.7 kB / 417.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.3305, allocations: 31.66 kB / 417.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007339/0.3313, allocations: 497.9 kB / 418.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.3313, allocations: 0 / 418.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.3313, allocations: 7.875 kB / 418.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007499/0.3321, allocations: 0.7127 MB / 418.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.3334, allocations: 0.9456 MB / 419.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3334, allocations: 0.5625 kB / 419.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.3336, allocations: 51.94 kB / 419.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.3353, allocations: 316.4 kB / 420.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.3353, allocations: 8 kB / 420.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004855/0.3358, allocations: 0.6508 MB / 420.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3358, allocations: 3.938 kB / 420.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008906/0.3367, allocations: 0.7101 MB / 421.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3368, allocations: 104.7 kB / 421.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.3369, allocations: 8 kB / 421.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.337, allocations: 11.98 kB / 421.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.3371, allocations: 20.11 kB / 421.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.3371, allocations: 11.98 kB / 421.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.3373, allocations: 186 kB / 421.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.3373, allocations: 0 / 421.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007714/0.3381, allocations: 191.8 kB / 422.1 MB, free: 10.49 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005593/0.3387, allocations: 263 kB / 422.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007973/0.3395, allocations: 458.7 kB / 422.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3395, allocations: 0 / 422.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.34, allocations: 248.3 kB / 423 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/0.3409, allocations: 169.3 kB / 423.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.3421, allocations: 0.7803 MB / 424 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3425, allocations: 0.776 MB / 424.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000178/0.3426, allocations: 50.94 kB / 424.8 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.3427, allocations: 31.42 kB / 424.8 MB, free: 7.668 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3427, allocations: 0 / 424.8 MB, free: 7.668 MB / 334.1 MB Notification: Performance of Templates: time 0.01511/0.3578, allocations: 9.932 MB / 434.8 MB, free: 13.78 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches