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.0008576/0.0008576, allocations: 101.8 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009486/0.0009486, allocations: 191.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002009/0.0002009, allocations: 4 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0801/0.08032, allocations: 51.52 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1801/0.2605, allocations: 34.68 MB / 393.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004863/0.2654, allocations: 4.294 MB / 397.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004452/0.2658, allocations: 7.125 kB / 397.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007153/0.2666, allocations: 217.9 kB / 397.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009027/0.2675, allocations: 462.3 kB / 398.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.2713, allocations: 1.286 MB / 399.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.2732, allocations: 1.619 MB / 401.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.2735, allocations: 114.5 kB / 401.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.2743, allocations: 418.9 kB / 401.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007363/0.2751, allocations: 397.2 kB / 402.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.2752, allocations: 22.16 kB / 402.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.2769, allocations: 0.6941 MB / 402.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.277, allocations: 109.2 kB / 402.9 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.2773, allocations: 125.4 kB / 403 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009971/0.2783, allocations: 0.7519 MB / 403.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2783, allocations: 0 / 403.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2783, allocations: 1.031 kB / 403.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.2783, allocations: 0 / 403.8 MB, free: 11.18 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.001106/0.2794, allocations: 0.6858 MB / 404.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2795, allocations: 17.56 kB / 404.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.2801, allocations: 80.78 kB / 404.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.2805, allocations: 331.7 kB / 404.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.2806, allocations: 32.11 kB / 404.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.2806, allocations: 38.12 kB / 405 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/0.2813, allocations: 463.2 kB / 405.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.2813, allocations: 13.22 kB / 405.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.2814, allocations: 17.41 kB / 405.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.2814, allocations: 9.531 kB / 405.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.2819, allocations: 303.6 kB / 405.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.2944, allocations: 6.735 MB / 412.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.2949, allocations: 269.7 kB / 412.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.2951, allocations: 148.6 kB / 412.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009571/0.3047, allocations: 3.879 MB / 416.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.3048, allocations: 46.42 kB / 416.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.3048, allocations: 0 / 416.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01147/0.3162, allocations: 2.479 MB / 419.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.3163, allocations: 63.41 kB / 419.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.3167, allocations: 295.3 kB / 419.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.3167, allocations: 37.7 kB / 419.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.3169, allocations: 224 kB / 419.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.317, allocations: 161.6 kB / 420.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.317, allocations: 12 kB / 420.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3172, allocations: 346.8 kB / 420.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.3174, allocations: 149.1 kB / 420.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.3177, allocations: 275.7 kB / 420.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.3181, allocations: 196.7 kB / 421 MB, free: 12.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3181, allocations: 0 / 421 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001055/0.3191, allocations: 0.5959 MB / 421.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3192, allocations: 11.95 kB / 421.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3192, allocations: 0 / 421.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005867/0.3251, allocations: 0.7674 MB / 422.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.3255, allocations: 107.8 kB / 422.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.3273, allocations: 2.467 MB / 425 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.3278, allocations: 36.02 kB / 425 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.3278, allocations: 23.98 kB / 425 MB, free: 8.215 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.3281, allocations: 173.7 kB / 425.2 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/0.3282, allocations: 43.47 kB / 425.2 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.3294, allocations: 0.859 MB / 426.1 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.3294, allocations: 15.98 kB / 426.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3294, allocations: 4 kB / 426.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009271/0.3303, allocations: 0.9573 MB / 427.1 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.3323, allocations: 1.485 MB / 428.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.3323, allocations: 7.953 kB / 428.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.3326, allocations: 71.89 kB / 428.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003169/0.3358, allocations: 0.6373 MB / 429.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.3358, allocations: 15.98 kB / 429.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008653/0.3367, allocations: 1.284 MB / 430.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3367, allocations: 4.031 kB / 430.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.3382, allocations: 1.215 MB / 431.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.3384, allocations: 116.5 kB / 431.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.3385, allocations: 16.03 kB / 431.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.3388, allocations: 31.8 kB / 431.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.3389, allocations: 27.95 kB / 432 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.3389, allocations: 19.98 kB / 432 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.3391, allocations: 209.9 kB / 432.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3391, allocations: 0 / 432.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008313/0.34, allocations: 231.9 kB / 432.4 MB, free: 0.5352 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007003/0.3407, allocations: 274.9 kB / 432.7 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.3419, allocations: 0.6873 MB / 433.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3419, allocations: 0 / 433.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008515/0.3427, allocations: 432.2 kB / 433.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.3439, allocations: 244.5 kB / 434 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.3459, allocations: 1.487 MB / 435.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3463, allocations: 0.8327 MB / 436.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003236/0.3466, allocations: 68.34 kB / 436.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.068e-05/0.3467, allocations: 39.42 kB / 436.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3467, allocations: 0 / 436.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01885/0.3656, allocations: 11.82 MB / 448.3 MB, free: 0.668 MB / 350.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