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.0008184/0.0008186, allocations: 93.17 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009304/0.0009306, allocations: 202.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.7 MB / 247.5 MB, free: 11.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002364/0.0002364, allocations: 8 kB / 308.4 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09604, allocations: 51.54 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1983/0.2944, allocations: 26.67 MB / 386.6 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004809/0.2992, allocations: 4.148 MB / 390.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005473/0.2998, allocations: 11 kB / 390.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008224/0.3007, allocations: 184.4 kB / 390.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.3017, allocations: 321.9 kB / 391.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.3063, allocations: 1.24 MB / 392.5 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.3083, allocations: 1.336 MB / 393.8 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3086, allocations: 75.23 kB / 393.9 MB, free: 2.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007801/0.3164, allocations: 4.201 MB / 398.1 MB, free: 1.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.317, allocations: 291.5 kB / 398.4 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.3e-05/0.3172, allocations: 15.09 kB / 398.4 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.3189, allocations: 0.6963 MB / 399.1 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.3191, allocations: 76.34 kB / 399.2 MB, free: 1.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.3194, allocations: 203.9 kB / 399.4 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009937/0.3205, allocations: 0.606 MB / 400 MB, free: 0.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3205, allocations: 1.281 kB / 400 MB, free: 0.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3205, allocations: 0 / 400 MB, free: 0.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.3205, allocations: 0 / 400 MB, free: 0.5 MB / 302.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.001113/0.3216, allocations: 0.5858 MB / 400.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.3217, allocations: 12.75 kB / 400.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005933/0.3223, allocations: 57.06 kB / 400.6 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.3227, allocations: 287.3 kB / 400.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.3228, allocations: 20.5 kB / 400.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.3228, allocations: 25.78 kB / 400.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.3234, allocations: 341.7 kB / 401.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3234, allocations: 5.312 kB / 401.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.3235, allocations: 12.12 kB / 401.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.3235, allocations: 6.875 kB / 401.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.3239, allocations: 215.7 kB / 401.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.3368, allocations: 5.905 MB / 407.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.3372, allocations: 178.2 kB / 407.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3373, allocations: 87.73 kB / 407.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.348, allocations: 3.872 MB / 411.5 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.348, allocations: 38.56 kB / 411.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.544e-06/0.3481, allocations: 3.938 kB / 411.6 MB, free: 7.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006678/0.3547, allocations: 1.419 MB / 413 MB, free: 5.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.3548, allocations: 63.39 kB / 413.1 MB, free: 5.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.3551, allocations: 262.5 kB / 413.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.3552, allocations: 33.7 kB / 413.4 MB, free: 5.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3553, allocations: 180.1 kB / 413.5 MB, free: 5.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.3554, allocations: 90.66 kB / 413.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.3555, allocations: 37.7 kB / 413.7 MB, free: 4.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3556, allocations: 334.8 kB / 414 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.3557, allocations: 87.97 kB / 414.1 MB, free: 4.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.356, allocations: 194.8 kB / 414.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.3564, allocations: 307.5 kB / 414.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3564, allocations: 0 / 414.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007134/0.3571, allocations: 394.9 kB / 414.9 MB, free: 3.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.3572, allocations: 11.94 kB / 415 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3572, allocations: 0 / 415 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003443/0.3606, allocations: 397.4 kB / 415.3 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.361, allocations: 83.89 kB / 415.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.3625, allocations: 1.879 MB / 417.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.3628, allocations: 31.83 kB / 417.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.3629, allocations: 16.06 kB / 417.4 MB, free: 0.9961 MB / 318.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.0002103/0.3631, allocations: 153.7 kB / 417.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.3632, allocations: 23.72 kB / 417.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007904/0.364, allocations: 0.4977 MB / 418 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.364, allocations: 4.047 kB / 418 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.364, allocations: 7.969 kB / 418 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006797/0.3647, allocations: 0.7082 MB / 418.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.3661, allocations: 0.9459 MB / 419.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3661, allocations: 0 / 419.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.3663, allocations: 48 kB / 419.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.3681, allocations: 324.2 kB / 420.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.3682, allocations: 8 kB / 420.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004924/0.3687, allocations: 0.6499 MB / 420.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3687, allocations: 0 / 420.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.3697, allocations: 0.7169 MB / 421.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3698, allocations: 104.7 kB / 421.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.3699, allocations: 19.86 kB / 421.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.3701, allocations: 20.03 kB / 421.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.3702, allocations: 19.97 kB / 421.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.3702, allocations: 8 kB / 421.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.3704, allocations: 186 kB / 421.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3704, allocations: 0 / 421.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007996/0.3712, allocations: 191.9 kB / 422 MB, free: 12.13 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.0007561/0.372, allocations: 278.9 kB / 422.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008228/0.3728, allocations: 439.9 kB / 422.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3729, allocations: 0 / 422.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000513/0.3734, allocations: 247.5 kB / 422.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3745, allocations: 160.9 kB / 423.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.3759, allocations: 1.008 MB / 424.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3763, allocations: 0.7802 MB / 424.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.3764, allocations: 31.44 kB / 424.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3764, allocations: 0 / 424.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of Templates: time 0.0128/0.3892, allocations: 8.348 MB / 433.2 MB, free: 0.8008 MB / 334.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 -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