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.001058/0.001058, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002551, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001065/0.001065, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002395, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9349/0.9349, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07604/1.011, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.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.342e-06/1.342e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.922e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01337/0.01338, allocations: 12.04 MB / 257.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.01613, allocations: 1.978 MB / 259 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.01632, allocations: 7.938 kB / 259 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.01667, allocations: 103.3 kB / 259.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006493/0.01731, allocations: 365.8 kB / 259.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.02093, allocations: 1.332 MB / 260.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.02199, allocations: 0.9338 MB / 261.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.02218, allocations: 78.8 kB / 261.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005776/0.02795, allocations: 4.187 MB / 266 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.02837, allocations: 239.2 kB / 266.3 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.02842, allocations: 28 kB / 266.3 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.02979, allocations: 0.714 MB / 267 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.0299, allocations: 87.72 kB / 267.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.03007, allocations: 123.8 kB / 267.2 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.03112, allocations: 0.6391 MB / 267.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.509e-05/0.03113, allocations: 0 / 267.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03114, allocations: 0 / 267.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.043e-05/0.03116, allocations: 0 / 267.8 MB, free: 6.742 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.0009962/0.03215, allocations: 0.6593 MB / 268.5 MB, free: 6.055 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.03219, allocations: 8.625 kB / 268.5 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/0.03269, allocations: 201.4 kB / 268.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.03301, allocations: 201.3 kB / 268.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.03303, allocations: 17.03 kB / 268.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.03308, allocations: 36.33 kB / 269 MB, free: 5.559 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.03347, allocations: 421.9 kB / 269.4 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.03349, allocations: 3.938 kB / 269.4 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.03352, allocations: 16 kB / 269.4 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.03353, allocations: 8 kB / 269.4 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.03369, allocations: 95.31 kB / 269.5 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007685/0.04138, allocations: 3.742 MB / 273.2 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.04157, allocations: 102.5 kB / 273.3 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/0.04164, allocations: 48.83 kB / 273.4 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1087/0.1503, allocations: 2.465 MB / 275.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.1504, allocations: 37.09 kB / 275.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.485e-06/0.1504, allocations: 0.6562 kB / 275.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003283/0.1537, allocations: 1.114 MB / 277 MB, free: 15.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/0.1537, allocations: 54.64 kB / 277.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1538, allocations: 214.1 kB / 277.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1538, allocations: 35.48 kB / 277.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.1539, allocations: 187.7 kB / 277.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.1539, allocations: 96.83 kB / 277.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.154, allocations: 64.75 kB / 277.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.154, allocations: 337.1 kB / 278 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.1541, allocations: 34.31 kB / 278 MB, free: 14.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.1542, allocations: 133.1 kB / 278.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1543, allocations: 204.3 kB / 278.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1543, allocations: 0 / 278.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002793/0.1546, allocations: 237 kB / 278.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1546, allocations: 6.844 kB / 278.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1546, allocations: 4.828 kB / 278.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/0.1565, allocations: 0.9293 MB / 279.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1567, allocations: 85.03 kB / 279.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006169/0.1573, allocations: 1.709 MB / 281.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.1574, allocations: 8.609 kB / 281.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1574, allocations: 13.11 kB / 281.3 MB, free: 13 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 7.674e-05/0.1575, allocations: 141 kB / 281.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.1576, allocations: 25.22 kB / 281.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.1579, allocations: 319.3 kB / 281.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.1579, allocations: 4.828 kB / 281.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1579, allocations: 1.094 kB / 281.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002125/0.1581, allocations: 0.5066 MB / 282.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.1587, allocations: 0.5547 MB / 282.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1587, allocations: 1.156 kB / 282.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.1588, allocations: 60.41 kB / 282.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.1588, allocations: 20.59 kB / 282.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007485/0.1596, allocations: 291.1 kB / 283.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.1596, allocations: 12.2 kB / 283.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001627/0.1598, allocations: 0.5455 MB / 283.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1598, allocations: 1.281 kB / 283.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.1601, allocations: 452.5 kB / 284.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1601, allocations: 6.094 kB / 284.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.1602, allocations: 6.156 kB / 284.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.1602, allocations: 16.66 kB / 284.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1602, allocations: 8.625 kB / 284.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.228e-05/0.1603, allocations: 62.97 kB / 284.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1603, allocations: 0 / 284.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004213/0.1607, allocations: 189.7 kB / 284.5 MB, free: 11.24 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.0004049/0.1611, allocations: 278.5 kB / 284.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.1615, allocations: 321.6 kB / 285.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/0.1615, allocations: 5.188 kB / 285.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.1618, allocations: 134.3 kB / 285.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.1623, allocations: 177.2 kB / 285.4 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006129/0.1684, allocations: 0.6642 MB / 286.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.1685, allocations: 102.2 kB / 286.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.1686, allocations: 42.48 kB / 286.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.1689, allocations: 145.3 kB / 286.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1689, allocations: 4 kB / 286.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Templates: time 0.01402/0.1829, allocations: 10.81 MB / 297.2 MB, free: 5.211 MB / 266.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 -emit_protected -ignoreHideResult -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.0824118331074715]