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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 117.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.88 kB / 373.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09978, allocations: 53.31 MB / 427.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2116/0.3114, allocations: 37.7 MB / 464.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006029/0.3174, allocations: 4.601 MB / 469.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.3178, allocations: 9.5 kB / 469.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008906/0.3187, allocations: 300.7 kB / 469.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009903/0.3196, allocations: 490.7 kB / 470.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00473/0.3244, allocations: 1.639 MB / 471.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.326, allocations: 1.272 MB / 473.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.3263, allocations: 121.9 kB / 473.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006881/0.3269, allocations: 481.2 kB / 473.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.3275, allocations: 430.8 kB / 474.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.3275, allocations: 44.94 kB / 474.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.3291, allocations: 0.7675 MB / 475 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.3293, allocations: 136.4 kB / 475.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.3296, allocations: 281.8 kB / 475.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.3311, allocations: 1.046 MB / 476.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3311, allocations: 4 kB / 476.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3311, allocations: 3.938 kB / 476.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.3311, allocations: 1.094 kB / 476.4 MB, free: 11.33 MB / 382.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.001225/0.3323, allocations: 0.7874 MB / 477.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3324, allocations: 9.375 kB / 477.2 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005989/0.333, allocations: 81.88 kB / 477.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.3335, allocations: 344.3 kB / 477.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.3335, allocations: 29.66 kB / 477.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.3336, allocations: 38.06 kB / 477.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007452/0.3343, allocations: 478.8 kB / 478.2 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.3344, allocations: 5.094 kB / 478.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.3344, allocations: 17 kB / 478.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.3344, allocations: 10.62 kB / 478.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.3349, allocations: 302.4 kB / 478.5 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.3489, allocations: 6.751 MB / 485.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.3494, allocations: 257.5 kB / 485.5 MB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.3496, allocations: 141.6 kB / 485.7 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.3603, allocations: 3.888 MB / 489.5 MB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.3604, allocations: 43.88 kB / 489.6 MB, free: 1.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.434e-06/0.3604, allocations: 1.375 kB / 489.6 MB, free: 1.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01233/0.3727, allocations: 2.458 MB / 492 MB, free: 14.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.3728, allocations: 63.34 kB / 492.1 MB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.3732, allocations: 299.3 kB / 492.4 MB, free: 14.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.3733, allocations: 33.7 kB / 492.4 MB, free: 14.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.3735, allocations: 228.5 kB / 492.7 MB, free: 14.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.3737, allocations: 166.6 kB / 492.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.3738, allocations: 98.19 kB / 492.9 MB, free: 13.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.374, allocations: 350.8 kB / 493.3 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.3743, allocations: 150.8 kB / 493.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.3747, allocations: 271.7 kB / 493.7 MB, free: 13.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.3754, allocations: 480.2 kB / 494.1 MB, free: 12.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3754, allocations: 0 / 494.1 MB, free: 12.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001119/0.3766, allocations: 0.5918 MB / 494.7 MB, free: 12.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3766, allocations: 8.406 kB / 494.7 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3766, allocations: 11.94 kB / 494.7 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008058/0.3846, allocations: 1.85 MB / 496.6 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.3851, allocations: 103.9 kB / 496.7 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.3873, allocations: 2.569 MB / 499.3 MB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.3876, allocations: 12 kB / 499.3 MB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.3876, allocations: 20 kB / 499.3 MB, free: 7.277 MB / 398.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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002326/0.3879, allocations: 185.6 kB / 499.5 MB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/0.388, allocations: 42.67 kB / 499.5 MB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3893, allocations: 0.8475 MB / 0.4886 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.3893, allocations: 8.062 kB / 0.4886 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.3893, allocations: 0 / 0.4886 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/0.3904, allocations: 0.965 MB / 0.4896 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.3925, allocations: 1.478 MB / 0.491 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3925, allocations: 0 / 0.491 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.3929, allocations: 79.94 kB / 0.4911 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003342/0.3962, allocations: 0.6101 MB / 0.4917 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.3962, allocations: 12 kB / 0.4917 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.3973, allocations: 1.288 MB / 0.493 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3973, allocations: 0 / 0.493 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.3989, allocations: 1.228 MB / 0.4942 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.3991, allocations: 116.8 kB / 0.4943 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.3991, allocations: 12 kB / 0.4943 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.3994, allocations: 15.94 kB / 0.4943 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.3994, allocations: 27.89 kB / 0.4943 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.3995, allocations: 19.98 kB / 0.4944 GB, free: 96 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002421/0.3997, allocations: 213.9 kB / 0.4946 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3997, allocations: 4 kB / 0.4946 GB, free: 15.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008745/0.4006, allocations: 227.7 kB / 0.4948 GB, free: 15.66 MB / 414.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 (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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006242/0.4012, allocations: 279.5 kB / 0.495 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.4025, allocations: 0.6719 MB / 0.4957 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4025, allocations: 0 / 0.4957 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009528/0.4034, allocations: 428 kB / 0.4961 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.4047, allocations: 240.7 kB / 0.4963 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.4066, allocations: 1.236 MB / 0.4975 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.4071, allocations: 0.844 MB / 0.4984 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.4073, allocations: 72.33 kB / 0.4984 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.434e-05/0.4074, allocations: 35.44 kB / 0.4985 GB, free: 11.81 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4074, allocations: 0 / 0.4985 GB, free: 11.81 MB / 414.1 MB Notification: Performance of Templates: time 0.02117/0.4286, allocations: 12.86 MB / 0.511 GB, free: 14.99 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.061889871023595]