Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001832/0.001832, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002207/0.002207, allocations: 211.9 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 51.92 kB / 378.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2405, allocations: 53.36 MB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06234/0.3028, allocations: 51.17 MB / 482.8 MB, free: 3.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00677/0.3096, allocations: 5.242 MB / 488 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.3098, allocations: 7.938 kB / 488 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007375/0.3105, allocations: 258.5 kB / 488.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006342/0.3111, allocations: 377.9 kB / 488.7 MB, free: 13.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01692/0.3281, allocations: 7.195 MB / 495.9 MB, free: 6.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.3295, allocations: 1.107 MB / 497 MB, free: 5.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.3297, allocations: 97.83 kB / 497.1 MB, free: 5.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006669/0.3364, allocations: 3.615 MB / 0.4889 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000634/0.337, allocations: 430.5 kB / 0.4894 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.162e-05/0.3371, allocations: 59.98 kB / 0.4894 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01831/0.3554, allocations: 10.18 MB / 0.4994 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.3558, allocations: 227.4 kB / 0.4996 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.3562, allocations: 314.8 kB / 0.4999 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.3666, allocations: 5.522 MB / 0.5053 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3666, allocations: 4 kB / 0.5053 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3666, allocations: 0 / 0.5053 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.3666, allocations: 0 / 0.5053 GB, free: 0.9023 MB / 414.1 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.003093/0.3697, allocations: 1.335 MB / 0.5066 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3697, allocations: 11.97 kB / 0.5066 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003416/0.3701, allocations: 63.7 kB / 0.5066 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.3706, allocations: 308.4 kB / 0.5069 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.3707, allocations: 29 kB / 0.507 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.3707, allocations: 47.98 kB / 0.507 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.3721, allocations: 0.5881 MB / 0.5076 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.3721, allocations: 3.953 kB / 0.5076 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.3722, allocations: 20 kB / 0.5076 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.3722, allocations: 12 kB / 0.5076 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.3737, allocations: 0.7456 MB / 0.5084 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.3872, allocations: 4.172 MB / 0.5124 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.3885, allocations: 0.5086 MB / 0.5129 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.3889, allocations: 238.1 kB / 0.5132 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01135/0.4003, allocations: 2.549 MB / 0.5156 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.4003, allocations: 39 kB / 0.5157 GB, free: 6.008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.244e-06/0.4003, allocations: 4 kB / 0.5157 GB, free: 6.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.00588/0.4062, allocations: 1.893 MB / 0.5175 GB, free: 4.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.4063, allocations: 63.91 kB / 0.5176 GB, free: 3.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.4067, allocations: 320.2 kB / 0.5179 GB, free: 3.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.4067, allocations: 37.7 kB / 0.5179 GB, free: 3.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.4069, allocations: 204.7 kB / 0.5181 GB, free: 3.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.4071, allocations: 198.3 kB / 0.5183 GB, free: 3.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.4072, allocations: 114.3 kB / 0.5184 GB, free: 3.117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4074, allocations: 346.8 kB / 0.5188 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.4078, allocations: 245.2 kB / 0.519 GB, free: 2.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.4085, allocations: 332.3 kB / 0.5193 GB, free: 2.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.4098, allocations: 0.6034 MB / 0.5199 GB, free: 1.539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4098, allocations: 8 kB / 0.5199 GB, free: 1.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001937/0.4118, allocations: 0.748 MB / 0.5206 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4118, allocations: 15.92 kB / 0.5207 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4118, allocations: 0 / 0.5207 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004984/0.4123, allocations: 106.8 kB / 0.5208 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.4128, allocations: 123.8 kB / 0.5209 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.4157, allocations: 3.266 MB / 0.5241 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.416, allocations: 12 kB / 0.5241 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.4161, allocations: 32.17 kB / 0.5241 GB, free: 12.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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 {2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002745/0.4164, allocations: 197.6 kB / 0.5243 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.4167, allocations: 51.75 kB / 0.5243 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.4184, allocations: 0.819 MB / 0.5251 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.4184, allocations: 4 kB / 0.5251 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4184, allocations: 8 kB / 0.5252 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/0.4196, allocations: 0.7596 MB / 0.5259 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.4219, allocations: 1.273 MB / 0.5271 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.4219, allocations: 4 kB / 0.5271 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.4224, allocations: 95.89 kB / 0.5272 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009439/0.4233, allocations: 152.7 kB / 0.5274 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.4234, allocations: 19.98 kB / 0.5274 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004926/0.4239, allocations: 0.6523 MB / 0.528 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4239, allocations: 0 / 0.528 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.4257, allocations: 0.9053 MB / 0.5289 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.4257, allocations: 39.89 kB / 0.529 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.392e-05/0.4258, allocations: 12 kB / 0.529 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.4262, allocations: 23.98 kB / 0.529 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.4263, allocations: 36.36 kB / 0.529 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/0.4263, allocations: 27.98 kB / 0.5291 GB, free: 7.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.4267, allocations: 259 kB / 0.5293 GB, free: 7.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4267, allocations: 0 / 0.5293 GB, free: 7.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00343/0.4301, allocations: 1.329 MB / 0.5306 GB, free: 6.078 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004936/0.435, allocations: 1.698 MB / 0.5323 GB, free: 4.367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.4366, allocations: 0.7766 MB / 0.533 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.4366, allocations: 8 kB / 0.533 GB, free: 3.555 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.4372, allocations: 279.2 kB / 0.5333 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.4386, allocations: 283.7 kB / 0.5336 GB, free: 3.008 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.4407, allocations: 1.11 MB / 0.5346 GB, free: 1.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.4412, allocations: 0.8403 MB / 0.5355 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004784/0.4417, allocations: 144.2 kB / 0.5356 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.4418, allocations: 55.42 kB / 0.5357 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4418, allocations: 0 / 0.5357 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of Templates: time 0.2267/0.6686, allocations: 45.64 MB / 0.5802 GB, free: 69.7 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.80333184893243]