Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001266/0.001266, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001666/0.001666, allocations: 169.3 kB / 24.82 MB, free: 9.273 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.9649/0.9649, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2784/0.2784, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.597e-05, allocations: 2.312 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2978/0.2978, allocations: 132.1 MB / 0.4993 GB, free: 25.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.3023, allocations: 3.066 MB / 0.5023 GB, free: 23.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006928/0.303, allocations: 28.44 kB / 0.5023 GB, free: 23.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.3037, allocations: 212 kB / 0.5025 GB, free: 23.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.3053, allocations: 0.7856 MB / 0.5033 GB, free: 23.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.3073, allocations: 0.9096 MB / 0.5042 GB, free: 22.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002184/0.3095, allocations: 1.856 MB / 0.506 GB, free: 22.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006011/0.3101, allocations: 424.6 kB / 0.5064 GB, free: 21.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.3116, allocations: 0.943 MB / 0.5073 GB, free: 21.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.3127, allocations: 0.6743 MB / 0.508 GB, free: 21.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.3129, allocations: 60.09 kB / 0.508 GB, free: 21.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006938/0.3136, allocations: 284.4 kB / 0.5083 GB, free: 21.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.3138, allocations: 288.2 kB / 0.5086 GB, free: 20.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.3142, allocations: 287.8 kB / 0.5089 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.3153, allocations: 0.7871 MB / 0.5096 GB, free: 20.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3153, allocations: 0 / 0.5096 GB, free: 20.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3153, allocations: 0 / 0.5096 GB, free: 20.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.3153, allocations: 3.719 kB / 0.5096 GB, free: 20.54 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001474/0.3168, allocations: 1.076 MB / 0.5107 GB, free: 19.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3168, allocations: 9.312 kB / 0.5107 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.3171, allocations: 155.1 kB / 0.5108 GB, free: 19.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.3176, allocations: 485.5 kB / 0.5113 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-05/0.3177, allocations: 158.2 kB / 0.5115 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/0.3178, allocations: 54.95 kB / 0.5115 GB, free: 19.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.3184, allocations: 0.9115 MB / 0.5124 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3185, allocations: 4.312 kB / 0.5124 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.3185, allocations: 32.17 kB / 0.5124 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.3185, allocations: 37.09 kB / 0.5125 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.3189, allocations: 253.7 kB / 0.5127 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.3209, allocations: 3.393 MB / 0.516 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.3212, allocations: 254.7 kB / 0.5163 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.318e-05/0.3213, allocations: 82.92 kB / 0.5164 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.3214, allocations: 54.91 kB / 0.5164 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.3214, allocations: 40.22 kB / 0.5164 GB, free: 15.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.793e-06/0.3214, allocations: 0 / 0.5164 GB, free: 15.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001343/0.3228, allocations: 0.8241 MB / 0.5172 GB, free: 14.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3228, allocations: 137.7 kB / 0.5174 GB, free: 14.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.3231, allocations: 0.5469 MB / 0.5179 GB, free: 14.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3231, allocations: 36.42 kB / 0.5179 GB, free: 14.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3233, allocations: 432.3 kB / 0.5184 GB, free: 14.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/0.3234, allocations: 170 kB / 0.5185 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.3235, allocations: 154.9 kB / 0.5187 GB, free: 13.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.3236, allocations: 0.559 MB / 0.5192 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.509e-05/0.3237, allocations: 66.33 kB / 0.5193 GB, free: 13.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.3239, allocations: 0.6028 MB / 0.5199 GB, free: 12.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.3243, allocations: 0.6492 MB / 0.5205 GB, free: 11.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3243, allocations: 4.312 kB / 0.5205 GB, free: 11.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006811/0.325, allocations: 0.6316 MB / 0.5211 GB, free: 11.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.325, allocations: 8.188 kB / 0.5211 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.325, allocations: 11.72 kB / 0.5211 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.3257, allocations: 226.7 kB / 0.5214 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.3259, allocations: 127 kB / 0.5215 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004109/0.3263, allocations: 0.9524 MB / 0.5224 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.3265, allocations: 25.88 kB / 0.5224 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.3266, allocations: 35.36 kB / 0.5225 GB, free: 10.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.3267, allocations: 212.8 kB / 0.5227 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.3268, allocations: 78.11 kB / 0.5227 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.3274, allocations: 480.7 kB / 0.5232 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.3274, allocations: 7.531 kB / 0.5232 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3274, allocations: 4 kB / 0.5232 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3274, allocations: 1.922 kB / 0.5232 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008757/0.3283, allocations: 0.8376 MB / 0.524 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.3283, allocations: 2.781 kB / 0.524 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.3287, allocations: 178.8 kB / 0.5242 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.204e-05/0.3288, allocations: 27.38 kB / 0.5242 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.3288, allocations: 9.062 kB / 0.5242 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.3298, allocations: 3.518 MB / 0.5277 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3298, allocations: 2.438 kB / 0.5277 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005977/0.3304, allocations: 0.6041 MB / 0.5283 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3306, allocations: 111.5 kB / 0.5284 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.3306, allocations: 16.59 kB / 0.5284 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.3308, allocations: 11.69 kB / 0.5284 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.3309, allocations: 38.3 kB / 0.5284 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.3309, allocations: 20.17 kB / 0.5285 GB, free: 5.684 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001941/0.3311, allocations: 321.9 kB / 0.5288 GB, free: 5.516 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3311, allocations: 0 / 0.5288 GB, free: 5.516 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006241/0.3317, allocations: 194.8 kB / 0.529 GB, free: 5.492 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002584/0.332, allocations: 174.8 kB / 0.5291 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005685/0.3325, allocations: 370.9 kB / 0.5295 GB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3326, allocations: 0.5625 kB / 0.5295 GB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.333, allocations: 376.2 kB / 0.5298 GB, free: 5.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008159/0.3338, allocations: 329.4 kB / 0.5301 GB, free: 4.992 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.3354, allocations: 1.171 MB / 0.5313 GB, free: 4.277 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.849e-05/0.3355, allocations: 169.7 kB / 0.5315 GB, free: 4.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003508/0.3359, allocations: 118.2 kB / 0.5316 GB, free: 4.152 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/0.3363, allocations: 361.2 kB / 0.5319 GB, free: 4.074 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3363, allocations: 3.938 kB / 0.5319 GB, free: 4.07 MB / 410.7 MB Notification: Performance of Templates: time 0.01654/0.3529, allocations: 14.18 MB / 0.5458 GB, free: 12.64 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.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.7335369209758937]