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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001328/0.001328, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 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 0.8885/0.8885, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.216e-05, allocations: 5.266 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.008298/0.00831, allocations: 11.99 MB / 285.4 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.01009, allocations: 1.958 MB / 287.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.01021, allocations: 7.938 kB / 287.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.01051, allocations: 107.3 kB / 287.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.01094, allocations: 369.8 kB / 287.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.0131, allocations: 1.321 MB / 289.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007683/0.01387, allocations: 0.9299 MB / 290.1 MB, free: 296 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.01401, allocations: 70.8 kB / 290.2 MB, free: 224 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1018/0.1158, allocations: 4.229 MB / 294.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.1161, allocations: 235.9 kB / 294.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.1162, allocations: 31.69 kB / 294.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.1173, allocations: 0.7174 MB / 295.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1174, allocations: 102.7 kB / 295.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1176, allocations: 145.8 kB / 295.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.1186, allocations: 0.7577 MB / 296.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1186, allocations: 0.7969 kB / 296.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1186, allocations: 0 / 296.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1186, allocations: 1.219 kB / 296.4 MB, free: 15.88 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006521/0.1192, allocations: 0.5395 MB / 296.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1193, allocations: 17.08 kB / 296.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/0.1196, allocations: 123.5 kB / 297.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.1199, allocations: 204.9 kB / 297.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1199, allocations: 21.31 kB / 297.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.1199, allocations: 32.73 kB / 297.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1202, allocations: 415.3 kB / 297.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1202, allocations: 1.812 kB / 297.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.1203, allocations: 14.66 kB / 297.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.1203, allocations: 14.81 kB / 297.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.1204, allocations: 99.81 kB / 297.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005571/0.126, allocations: 3.738 MB / 301.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1261, allocations: 101.3 kB / 301.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.1262, allocations: 58.06 kB / 301.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004103/0.1303, allocations: 2.481 MB / 304.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1303, allocations: 36.56 kB / 304.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.365e-06/0.1303, allocations: 0 / 304.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003654/0.134, allocations: 1.113 MB / 305.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.134, allocations: 58.3 kB / 305.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1341, allocations: 213.1 kB / 305.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1341, allocations: 33.45 kB / 305.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.1342, allocations: 187 kB / 305.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.1342, allocations: 97.66 kB / 306 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.1343, allocations: 61.09 kB / 306 MB, free: 12.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.895e-05/0.1343, allocations: 340.5 kB / 306.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.1344, allocations: 35.78 kB / 306.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.1344, allocations: 136.4 kB / 306.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1346, allocations: 201.1 kB / 306.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1346, allocations: 2.781 kB / 306.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002606/0.1348, allocations: 229.8 kB / 306.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1349, allocations: 7.031 kB / 306.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1349, allocations: 6.094 kB / 306.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.1368, allocations: 0.9187 MB / 307.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.137, allocations: 76.42 kB / 307.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006401/0.1376, allocations: 1.705 MB / 309.6 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1377, allocations: 9.312 kB / 309.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1377, allocations: 20.2 kB / 309.7 MB, free: 9.688 MB / 266.7 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 8.156e-05/0.1378, allocations: 132.8 kB / 309.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.1379, allocations: 28.52 kB / 309.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.1381, allocations: 321.5 kB / 310.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1381, allocations: 4 kB / 310.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1381, allocations: 0 / 310.2 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001877/0.1383, allocations: 0.5104 MB / 310.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.1388, allocations: 0.5476 MB / 311.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1388, allocations: 32 / 311.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.139, allocations: 61.61 kB / 311.3 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007332/0.1397, allocations: 291.2 kB / 311.6 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1397, allocations: 10.69 kB / 311.6 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001566/0.1399, allocations: 0.545 MB / 312.1 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1399, allocations: 8.031 kB / 312.1 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.1402, allocations: 444.7 kB / 312.6 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.1402, allocations: 23.8 kB / 312.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1402, allocations: 7.938 kB / 312.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.1403, allocations: 3.938 kB / 312.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.1403, allocations: 15.97 kB / 312.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1403, allocations: 11.8 kB / 312.6 MB, free: 6.785 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.643e-05/0.1404, allocations: 68.25 kB / 312.7 MB, free: 6.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1404, allocations: 0 / 312.7 MB, free: 6.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006214/0.141, allocations: 193.6 kB / 312.9 MB, free: 6.559 MB / 266.7 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.0004169/0.1414, allocations: 270.5 kB / 313.1 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.1418, allocations: 326.5 kB / 313.5 MB, free: 6.012 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1418, allocations: 4 kB / 313.5 MB, free: 6.008 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.142, allocations: 137.8 kB / 313.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.1424, allocations: 142.5 kB / 313.7 MB, free: 5.781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009283/0.1433, allocations: 0.6645 MB / 314.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.972e-05/0.1433, allocations: 93.12 kB / 314.5 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.1435, allocations: 42.95 kB / 314.5 MB, free: 4.984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.1437, allocations: 145 kB / 314.7 MB, free: 4.852 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1437, allocations: 4 kB / 314.7 MB, free: 4.848 MB / 266.7 MB Notification: Performance of Templates: time 0.01253/0.1562, allocations: 10.53 MB / 325.2 MB, free: 10.6 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0258534466847777]