Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009958/0.0009958, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002377, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008617/0.001886, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8763/0.8763, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07021/0.9465, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.679e-05, allocations: 8.781 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01118/0.0112, allocations: 13.01 MB / 257.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.01341, allocations: 2.227 MB / 259.8 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.0136, allocations: 11.94 kB / 259.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005371/0.01413, allocations: 147 kB / 259.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005637/0.0147, allocations: 0.5086 MB / 260.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.01707, allocations: 1.441 MB / 261.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009515/0.01802, allocations: 1.354 MB / 263.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.01824, allocations: 111 kB / 263.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005978/0.01883, allocations: 0.6783 MB / 264 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.01919, allocations: 350.9 kB / 264.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.924e-05/0.01924, allocations: 44 kB / 264.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008429/0.02008, allocations: 0.7412 MB / 265.1 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.02017, allocations: 115.6 kB / 265.3 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.0203, allocations: 179.8 kB / 265.4 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006819/0.02099, allocations: 0.7403 MB / 266.2 MB, free: 8.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.021, allocations: 4 kB / 266.2 MB, free: 8.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.021, allocations: 0 / 266.2 MB, free: 8.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.02101, allocations: 0 / 266.2 MB, free: 8.57 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.0007415/0.02175, allocations: 0.819 MB / 267 MB, free: 7.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.02179, allocations: 12.03 kB / 267 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006282/0.02241, allocations: 241.2 kB / 267.2 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.02266, allocations: 245 kB / 267.5 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.02268, allocations: 29.38 kB / 267.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.02272, allocations: 40.38 kB / 267.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.02305, allocations: 0.5523 MB / 268.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.02307, allocations: 12.14 kB / 268.1 MB, free: 6.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.02309, allocations: 20.12 kB / 268.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.0231, allocations: 12 kB / 268.1 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.02323, allocations: 142.7 kB / 268.3 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.0282, allocations: 4.15 MB / 272.4 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.02839, allocations: 170.5 kB / 272.6 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.47e-05/0.02845, allocations: 76.75 kB / 272.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09606/0.1245, allocations: 2.48 MB / 275.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1245, allocations: 38.47 kB / 275.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.1245, allocations: 0 / 275.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005558/0.1301, allocations: 2.017 MB / 277.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.1301, allocations: 56.91 kB / 277.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1303, allocations: 255.8 kB / 277.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1303, allocations: 32.19 kB / 277.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.1304, allocations: 219.5 kB / 277.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.1304, allocations: 170.7 kB / 277.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.1305, allocations: 101.4 kB / 278 MB, free: 15.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.1305, allocations: 349.4 kB / 278.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.1306, allocations: 56.75 kB / 278.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1307, allocations: 178.8 kB / 278.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.1309, allocations: 298.7 kB / 278.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1309, allocations: 1.125 kB / 278.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003667/0.1313, allocations: 352.7 kB / 279.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1313, allocations: 6.984 kB / 279.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1313, allocations: 7.969 kB / 279.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003548/0.1349, allocations: 1.836 MB / 281.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.1351, allocations: 131 kB / 281.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006516/0.1358, allocations: 2.253 MB / 283.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1359, allocations: 13.59 kB / 283.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1359, allocations: 14.97 kB / 283.5 MB, free: 12.41 MB / 266.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 8.254e-05/0.136, allocations: 151.7 kB / 283.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.136, allocations: 35.7 kB / 283.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.1364, allocations: 0.505 MB / 284.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.1364, allocations: 8.641 kB / 284.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1364, allocations: 5.156 kB / 284.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003007/0.1367, allocations: 0.568 MB / 284.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007406/0.1375, allocations: 0.8126 MB / 285.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1375, allocations: 0 / 285.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.1377, allocations: 93.19 kB / 285.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.1377, allocations: 35.73 kB / 285.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.139, allocations: 0.5757 MB / 286.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.139, allocations: 18.88 kB / 286.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002597/0.1392, allocations: 1.078 MB / 287.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1392, allocations: 5.375 kB / 287.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.1397, allocations: 0.649 MB / 288 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1398, allocations: 12.38 kB / 288 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.73e-05/0.1399, allocations: 6.688 kB / 288.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.1399, allocations: 33.88 kB / 288.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1399, allocations: 13.06 kB / 288.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.14, allocations: 83.61 kB / 288.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.14, allocations: 0 / 288.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004273/0.1404, allocations: 229.8 kB / 288.4 MB, free: 10.07 MB / 266.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.0003794/0.1408, allocations: 294.6 kB / 288.7 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.1412, allocations: 461.2 kB / 289.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/0.1412, allocations: 6.25 kB / 289.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.1415, allocations: 249.8 kB / 289.4 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.142, allocations: 253.4 kB / 289.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.1475, allocations: 0.9739 MB / 290.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.81e-05/0.1476, allocations: 122.1 kB / 290.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.1477, allocations: 61.72 kB / 290.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.1479, allocations: 190.4 kB / 291 MB, free: 9.234 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1479, allocations: 0 / 291 MB, free: 9.234 MB / 266.7 MB Notification: Performance of Templates: time 0.01187/0.1598, allocations: 13.99 MB / 305 MB, free: 14.19 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.212031314149499]