Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 103 kB / 17.74 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 188.5 kB / 18.66 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 35.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2476, allocations: 49.45 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02496/0.2726, allocations: 27.04 MB / 428.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004483/0.2771, allocations: 4.159 MB / 432.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.2774, allocations: 8 kB / 432.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006873/0.2781, allocations: 202.7 kB / 432.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006651/0.2788, allocations: 342.1 kB / 433.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.2826, allocations: 1.464 MB / 434.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.2836, allocations: 0.8834 MB / 435.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.2838, allocations: 108.5 kB / 435.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005855/0.2897, allocations: 4.065 MB / 439.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.2902, allocations: 274.9 kB / 439.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.72e-05/0.2903, allocations: 39.98 kB / 440 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.2918, allocations: 0.722 MB / 440.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.292, allocations: 95.66 kB / 440.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.2923, allocations: 191.3 kB / 441 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.2938, allocations: 0.8456 MB / 441.8 MB, free: 340 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2938, allocations: 0 / 441.8 MB, free: 340 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2938, allocations: 0 / 441.8 MB, free: 340 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.2938, allocations: 0 / 441.8 MB, free: 340 kB / 350.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.001035/0.2949, allocations: 0.651 MB / 442.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2949, allocations: 12.02 kB / 442.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.2954, allocations: 52.55 kB / 442.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.2958, allocations: 296.3 kB / 442.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2959, allocations: 20.88 kB / 442.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.2959, allocations: 32.28 kB / 442.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.2964, allocations: 338.6 kB / 443.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.2964, allocations: 3.938 kB / 443.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.2965, allocations: 20 kB / 443.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.2965, allocations: 8 kB / 443.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.2968, allocations: 210 kB / 443.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.31, allocations: 5.904 MB / 449.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.3104, allocations: 178.6 kB / 449.5 MB, free: 8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3106, allocations: 88.83 kB / 449.6 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.3212, allocations: 3.889 MB / 453.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.3213, allocations: 34.56 kB / 453.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.3213, allocations: 0 / 453.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.006712/0.328, allocations: 1.418 MB / 455 MB, free: 2.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3281, allocations: 55.41 kB / 455 MB, free: 2.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.3284, allocations: 254.6 kB / 455.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.3284, allocations: 33.7 kB / 455.3 MB, free: 1.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.3286, allocations: 192.1 kB / 455.5 MB, free: 1.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.3286, allocations: 94.59 kB / 455.6 MB, free: 1.539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3287, allocations: 69.59 kB / 455.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3289, allocations: 334.8 kB / 456 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.329, allocations: 95.75 kB / 456.1 MB, free: 1.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.3292, allocations: 190.8 kB / 456.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.3297, allocations: 299 kB / 456.5 MB, free: 488 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3297, allocations: 7.938 kB / 456.5 MB, free: 480 kB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007392/0.3304, allocations: 386.7 kB / 456.9 MB, free: 80 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3304, allocations: 8.375 kB / 456.9 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3305, allocations: 8 kB / 456.9 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004476/0.3349, allocations: 0.935 MB / 457.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.3353, allocations: 79.83 kB / 458 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.3371, allocations: 1.974 MB / 459.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.3373, allocations: 8 kB / 459.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.3374, allocations: 16 kB / 460 MB, free: 12.89 MB / 382.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.0001894/0.3376, allocations: 162 kB / 460.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.3376, allocations: 31.66 kB / 460.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007828/0.3384, allocations: 487.4 kB / 460.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3385, allocations: 4 kB / 460.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3385, allocations: 0 / 460.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008044/0.3393, allocations: 0.7278 MB / 461.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.3406, allocations: 0.9497 MB / 462.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3406, allocations: 0 / 462.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3408, allocations: 43.92 kB / 462.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/0.3426, allocations: 316.4 kB / 462.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.3426, allocations: 8 kB / 462.7 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005725/0.3432, allocations: 0.6421 MB / 463.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3432, allocations: 0 / 463.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/0.3442, allocations: 0.7326 MB / 464 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.3443, allocations: 108.7 kB / 464.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.3443, allocations: 8 kB / 464.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.3445, allocations: 4 kB / 464.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.3446, allocations: 16.06 kB / 464.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.3446, allocations: 15.98 kB / 464.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.3448, allocations: 186 kB / 464.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3448, allocations: 3.938 kB / 464.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006578/0.3455, allocations: 192 kB / 464.6 MB, free: 8.039 MB / 382.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.0006555/0.3461, allocations: 262.9 kB / 464.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008705/0.347, allocations: 455.1 kB / 465.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.347, allocations: 4 kB / 465.3 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005777/0.3476, allocations: 235.8 kB / 465.5 MB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009393/0.3486, allocations: 172.2 kB / 465.7 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.35, allocations: 0.8172 MB / 466.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.3504, allocations: 0.7799 MB / 467.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.3505, allocations: 31.44 kB / 467.3 MB, free: 5.227 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3505, allocations: 0 / 467.3 MB, free: 5.227 MB / 382.1 MB Notification: Performance of Templates: time 0.01205/0.3626, allocations: 8.461 MB / 475.7 MB, free: 12.77 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches