Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.001825/0.001825, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 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.002162/0.002162, allocations: 160.2 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 250.4 MB, free: 3.895 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.153e-05, allocations: 2.312 kB / 250.4 MB, free: 3.891 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3682/0.3682, allocations: 161.7 MB / 412.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007221/0.3754, allocations: 4.346 MB / 416.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.3756, allocations: 7.938 kB / 416.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007977/0.3764, allocations: 238.6 kB / 416.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007657/0.3772, allocations: 397.3 kB / 417 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008067/0.3852, allocations: 2.934 MB / 420 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.3871, allocations: 1.18 MB / 421.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.3873, allocations: 98.58 kB / 421.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004602/0.3919, allocations: 1.647 MB / 422.9 MB, free: 9.035 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007995/0.3927, allocations: 395 kB / 423.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.3929, allocations: 68 kB / 423.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007597/0.4005, allocations: 3.497 MB / 426.8 MB, free: 5.078 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004065/0.4009, allocations: 259.3 kB / 427.1 MB, free: 4.824 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.4013, allocations: 239.6 kB / 427.3 MB, free: 4.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006376/0.4077, allocations: 3.187 MB / 430.5 MB, free: 1.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4077, allocations: 0 / 430.5 MB, free: 1.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4077, allocations: 0 / 430.5 MB, free: 1.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.4077, allocations: 0 / 430.5 MB, free: 1.395 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002656/0.4104, allocations: 1.094 MB / 431.6 MB, free: 268 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.4104, allocations: 11.98 kB / 431.6 MB, free: 256 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004516/0.4109, allocations: 115.5 kB / 431.7 MB, free: 140 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.4115, allocations: 312.3 kB / 432 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.4115, allocations: 29 kB / 432.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4116, allocations: 48 kB / 432.1 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.4129, allocations: 0.8112 MB / 432.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.4129, allocations: 3.953 kB / 432.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.413, allocations: 16 kB / 433 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.413, allocations: 19.94 kB / 433 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.4141, allocations: 0.5895 MB / 433.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.4173, allocations: 1.244 MB / 434.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.4187, allocations: 0.5255 MB / 435.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/0.4191, allocations: 242.2 kB / 435.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.4195, allocations: 104.4 kB / 435.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.4195, allocations: 43 kB / 435.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 2.014e-06/0.4195, allocations: 0 / 435.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.01534/0.4348, allocations: 3.435 MB / 439.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.4349, allocations: 64 kB / 439.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.4353, allocations: 244.1 kB / 439.4 MB, free: 8.215 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.088e-05/0.4353, allocations: 37.7 kB / 439.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.4355, allocations: 197.3 kB / 439.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.4358, allocations: 234 kB / 439.9 MB, free: 7.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.436, allocations: 118.3 kB / 440 MB, free: 7.621 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.4362, allocations: 342.8 kB / 440.4 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000831/0.437, allocations: 313.1 kB / 440.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009732/0.438, allocations: 388.1 kB / 441 MB, free: 6.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.4397, allocations: 0.709 MB / 441.7 MB, free: 5.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4397, allocations: 0.625 kB / 441.7 MB, free: 5.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002516/0.4422, allocations: 0.9837 MB / 442.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.4422, allocations: 4 kB / 442.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4423, allocations: 0 / 442.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.4439, allocations: 338.3 kB / 443.1 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.4445, allocations: 123.8 kB / 443.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/0.4489, allocations: 3.466 MB / 446.7 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005882/0.4495, allocations: 31.97 kB / 446.7 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.4496, allocations: 23.98 kB / 446.7 MB, free: 0.6367 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * 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,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003662/0.45, allocations: 197.8 kB / 446.9 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.4502, allocations: 63.7 kB / 447 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1171/0.5673, allocations: 1.011 MB / 448 MB, free: 154.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.5673, allocations: 9.875 kB / 448 MB, free: 154.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5673, allocations: 0.7031 kB / 448 MB, free: 154.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0021/0.5694, allocations: 1.065 MB / 449 MB, free: 154.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.5725, allocations: 1.502 MB / 450.6 MB, free: 153.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5725, allocations: 0.625 kB / 450.6 MB, free: 153.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/0.5731, allocations: 111.4 kB / 450.7 MB, free: 153.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.575, allocations: 373.1 kB / 451 MB, free: 153.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.575, allocations: 25 kB / 451 MB, free: 153.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.5764, allocations: 0.8694 MB / 451.9 MB, free: 152.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5764, allocations: 3 kB / 451.9 MB, free: 152.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.5792, allocations: 1.358 MB / 453.3 MB, free: 152.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.5793, allocations: 38.78 kB / 453.3 MB, free: 152.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.5794, allocations: 18.58 kB / 453.3 MB, free: 152.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.5801, allocations: 48.53 kB / 453.4 MB, free: 152.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.5802, allocations: 42.89 kB / 453.4 MB, free: 152.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.808e-05/0.5802, allocations: 33.86 kB / 453.5 MB, free: 152.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002001/0.5804, allocations: 186.7 kB / 453.6 MB, free: 152.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5805, allocations: 0 / 453.6 MB, free: 152.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001405/0.5819, allocations: 459.3 kB / 454.1 MB, free: 152.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/0.5831, allocations: 0.6018 MB / 454.7 MB, free: 151.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.5851, allocations: 0.9676 MB / 455.7 MB, free: 151.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5851, allocations: 1.375 kB / 455.7 MB, free: 151.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009342/0.586, allocations: 405.8 kB / 456.1 MB, free: 151.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.5873, allocations: 274.3 kB / 456.3 MB, free: 151.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.5898, allocations: 1.231 MB / 457.6 MB, free: 150.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.5901, allocations: 248.7 kB / 457.8 MB, free: 150.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004589/0.5905, allocations: 125.7 kB / 457.9 MB, free: 150.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.5907, allocations: 50.34 kB / 458 MB, free: 150.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5907, allocations: 0 / 458 MB, free: 150.6 MB / 378.7 MB Notification: Performance of Templates: time 0.02516/0.6159, allocations: 20.47 MB / 478.4 MB, free: 132.6 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.855198652949184]