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.001519/0.001519, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.001633/0.001633, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 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.454/1.454, allocations: 177 MB / 204.5 MB, free: 5.59 MB / 186.7 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 1.774e-06/1.774e-06, allocations: 0 / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.936e-05, allocations: 6.312 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1418/0.1419, allocations: 33.83 MB / 306.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004087/0.146, allocations: 4.172 MB / 310.2 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.1462, allocations: 9.25 kB / 310.2 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.1469, allocations: 281.5 kB / 310.5 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007088/0.1476, allocations: 0.4893 MB / 311 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.151, allocations: 1.666 MB / 312.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.1521, allocations: 1.291 MB / 314 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.1523, allocations: 105 kB / 314.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005939/0.1528, allocations: 0.6487 MB / 314.7 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.1532, allocations: 378.2 kB / 315.1 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.926e-05/0.1533, allocations: 44.53 kB / 315.1 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.1544, allocations: 0.7353 MB / 315.9 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1545, allocations: 145.7 kB / 316 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.1547, allocations: 204.7 kB / 316.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1557, allocations: 1.181 MB / 317.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1557, allocations: 0 / 317.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1557, allocations: 0 / 317.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1557, allocations: 4 kB / 317.4 MB, free: 3.574 MB / 266.7 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.0008934/0.1566, allocations: 0.7037 MB / 318.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1566, allocations: 14.14 kB / 318.1 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006023/0.1572, allocations: 171.5 kB / 318.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.1576, allocations: 288.2 kB / 318.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1577, allocations: 29.66 kB / 318.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.1577, allocations: 44 kB / 318.6 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005815/0.1583, allocations: 0.6609 MB / 319.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.1583, allocations: 5.828 kB / 319.3 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.1584, allocations: 17.22 kB / 319.3 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1584, allocations: 16.27 kB / 319.3 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.1588, allocations: 300 kB / 319.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.1714, allocations: 4.584 MB / 324.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.172, allocations: 254.4 kB / 324.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.1722, allocations: 137.3 kB / 324.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.1834, allocations: 2.69 MB / 327.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.1835, allocations: 43.42 kB / 327.3 MB, free: 10.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.1835, allocations: 0 / 327.3 MB, free: 10.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.01238/0.1958, allocations: 2.318 MB / 329.6 MB, free: 7.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1959, allocations: 63.34 kB / 329.7 MB, free: 7.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.1963, allocations: 277.7 kB / 330 MB, free: 7.574 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.1963, allocations: 33.7 kB / 330 MB, free: 7.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.1965, allocations: 232.4 kB / 330.2 MB, free: 7.305 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.1967, allocations: 166.6 kB / 330.4 MB, free: 7.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.1968, allocations: 102.2 kB / 330.5 MB, free: 7.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.197, allocations: 350.7 kB / 330.8 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.1973, allocations: 149.2 kB / 331 MB, free: 6.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.1977, allocations: 280.7 kB / 331.2 MB, free: 6.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007632/0.1985, allocations: 469.2 kB / 331.7 MB, free: 5.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1985, allocations: 4 kB / 331.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001254/0.1997, allocations: 0.6128 MB / 332.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1998, allocations: 8 kB / 332.3 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1998, allocations: 4 kB / 332.3 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008889/0.2087, allocations: 1.848 MB / 334.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.2092, allocations: 115.8 kB / 334.3 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.2118, allocations: 2.438 MB / 336.7 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.2121, allocations: 16 kB / 336.7 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.2122, allocations: 23.98 kB / 336.8 MB, free: 500 kB / 282.7 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.0002577/0.2124, allocations: 173.7 kB / 336.9 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.2126, allocations: 55.77 kB / 337 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.2142, allocations: 0.8573 MB / 337.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.2142, allocations: 19.92 kB / 337.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.2142, allocations: 64 / 337.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001319/0.2155, allocations: 0.9789 MB / 338.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.2178, allocations: 1.359 MB / 340.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2179, allocations: 0 / 340.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.2182, allocations: 75.89 kB / 340.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003667/0.2219, allocations: 0.6249 MB / 340.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.2219, allocations: 8 kB / 340.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.2232, allocations: 1.304 MB / 342.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2232, allocations: 0 / 342.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.2252, allocations: 1.259 MB / 343.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.2253, allocations: 47.81 kB / 343.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.2253, allocations: 15.94 kB / 343.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.2256, allocations: 8 kB / 343.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.2256, allocations: 31.94 kB / 343.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.2257, allocations: 16 kB / 343.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002374/0.2259, allocations: 193.2 kB / 343.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2259, allocations: 0 / 343.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008083/0.2267, allocations: 227.7 kB / 344 MB, free: 9.016 MB / 298.7 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.0006888/0.2274, allocations: 295 kB / 344.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.2288, allocations: 0.6839 MB / 345 MB, free: 8.023 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2288, allocations: 0 / 345 MB, free: 8.023 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.2299, allocations: 420.3 kB / 345.4 MB, free: 7.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.231, allocations: 219 kB / 345.6 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.2331, allocations: 1.146 MB / 346.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.2333, allocations: 229.3 kB / 347 MB, free: 6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.2336, allocations: 67.36 kB / 347 MB, free: 5.934 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.917e-05/0.2337, allocations: 40.48 kB / 347.1 MB, free: 5.895 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2337, allocations: 0 / 347.1 MB, free: 5.895 MB / 298.7 MB Notification: Performance of Templates: time 0.02245/0.2561, allocations: 11.95 MB / 359 MB, free: 10.11 MB / 314.7 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: 5.954587394953705]