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.001614/0.001614, allocations: 121 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002023/0.002023, allocations: 208.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 61.03 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08378/0.085, allocations: 50.54 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1714/0.2564, allocations: 27.1 MB / 386 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003981/0.2604, allocations: 4.17 MB / 390.2 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.2607, allocations: 3.562 kB / 390.2 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006396/0.2613, allocations: 207.8 kB / 390.4 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.262, allocations: 337.1 kB / 390.7 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004085/0.2661, allocations: 1.469 MB / 392.2 MB, free: 2.391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.2674, allocations: 0.8884 MB / 393.1 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.2676, allocations: 99.69 kB / 393.2 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005843/0.2735, allocations: 4.051 MB / 397.2 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.2738, allocations: 278.7 kB / 397.5 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.2739, allocations: 31.88 kB / 397.5 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.2752, allocations: 0.7287 MB / 398.2 MB, free: 288 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.9e-05/0.2753, allocations: 88.7 kB / 398.3 MB, free: 220 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.2755, allocations: 198.2 kB / 398.5 MB, free: 104 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.2766, allocations: 0.8479 MB / 399.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2767, allocations: 0 / 399.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2767, allocations: 4 kB / 399.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2767, allocations: 1.375 kB / 399.4 MB, free: 15.55 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.0009075/0.2776, allocations: 0.652 MB / 400 MB, free: 14.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2776, allocations: 9.281 kB / 400 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004616/0.2781, allocations: 54.02 kB / 400.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.2786, allocations: 300.6 kB / 400.4 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.2786, allocations: 24.03 kB / 400.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.2787, allocations: 26.84 kB / 400.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.2792, allocations: 338.7 kB / 400.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2792, allocations: 0 / 400.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.2792, allocations: 12.72 kB / 400.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.2792, allocations: 10.12 kB / 400.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.2796, allocations: 212.3 kB / 401 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.2922, allocations: 5.915 MB / 406.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.2926, allocations: 179.6 kB / 407.1 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.2927, allocations: 91.77 kB / 407.2 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.3032, allocations: 3.878 MB / 411.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.3033, allocations: 42.5 kB / 411.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.3033, allocations: 0 / 411.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006388/0.3097, allocations: 1.404 MB / 412.5 MB, free: 4.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.3097, allocations: 59.34 kB / 412.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.31, allocations: 262.5 kB / 412.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.31, allocations: 29.7 kB / 412.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3102, allocations: 188 kB / 413 MB, free: 4.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.3102, allocations: 94.73 kB / 413.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3103, allocations: 65.61 kB / 413.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3105, allocations: 338.8 kB / 413.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.3106, allocations: 91.95 kB / 413.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3108, allocations: 178.9 kB / 413.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.3113, allocations: 316 kB / 414.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.3113, allocations: 0 / 414.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006725/0.3119, allocations: 406.6 kB / 414.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.312, allocations: 8 kB / 414.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.312, allocations: 4 kB / 414.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004149/0.3161, allocations: 0.9329 MB / 415.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.3164, allocations: 67.91 kB / 415.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.318, allocations: 1.98 MB / 417.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.3182, allocations: 8 kB / 417.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.3182, allocations: 19.98 kB / 417.5 MB, free: 15.36 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.0001621/0.3184, allocations: 153.7 kB / 417.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.3185, allocations: 31.66 kB / 417.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/0.3192, allocations: 0.4901 MB / 418.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.3192, allocations: 4 kB / 418.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.3192, allocations: 0 / 418.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000642/0.3198, allocations: 0.7127 MB / 418.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3211, allocations: 0.9534 MB / 419.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3211, allocations: 3.938 kB / 419.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.3213, allocations: 35.98 kB / 419.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.3231, allocations: 324.4 kB / 420.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.3231, allocations: 8.875 kB / 420.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004876/0.3236, allocations: 0.6459 MB / 420.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3236, allocations: 4.062 kB / 420.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008987/0.3245, allocations: 0.714 MB / 421.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.3247, allocations: 116.6 kB / 421.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.3247, allocations: 8 kB / 421.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3249, allocations: 1.125 kB / 421.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.3249, allocations: 24.03 kB / 421.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.325, allocations: 8 kB / 421.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.3252, allocations: 190 kB / 421.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3252, allocations: 0 / 421.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006649/0.3258, allocations: 183.9 kB / 422.1 MB, free: 10.51 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.0005431/0.3264, allocations: 270.9 kB / 422.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007741/0.3272, allocations: 450.9 kB / 422.8 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3272, allocations: 0 / 422.8 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005197/0.3277, allocations: 244.2 kB / 423 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.3286, allocations: 175.8 kB / 423.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.3298, allocations: 0.777 MB / 424 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3301, allocations: 0.7838 MB / 424.8 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.3303, allocations: 50.94 kB / 424.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.3303, allocations: 27.44 kB / 424.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3303, allocations: 0 / 424.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of Templates: time 0.01516/0.3455, allocations: 9.927 MB / 434.8 MB, free: 13.8 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 gbode -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