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.001922/0.001922, allocations: 86.2 kB / 21.99 MB, free: 4.754 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.002248/0.002248, allocations: 157.8 kB / 25.24 MB, free: 2.75 MB / 14.72 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.43/1.43, allocations: 158.6 MB / 187 MB, free: 6.324 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.86 kB / 299.4 MB, free: 6.824 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2214, allocations: 49.13 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4042/0.6256, allocations: 161.7 MB / 0.4983 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.63, allocations: 4.361 MB / 0.5026 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.6302, allocations: 8.25 kB / 0.5026 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006343/0.6308, allocations: 229.7 kB / 0.5028 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.6313, allocations: 380.1 kB / 0.5032 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006445/0.6378, allocations: 2.905 MB / 0.506 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.6394, allocations: 1.179 MB / 0.5071 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.6396, allocations: 97.34 kB / 0.5072 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.6427, allocations: 1.498 MB / 0.5087 GB, free: 468 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.6432, allocations: 427 kB / 0.5091 GB, free: 468 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.373e-05/0.6433, allocations: 61.38 kB / 0.5092 GB, free: 468 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005814/0.6491, allocations: 3.474 MB / 0.5126 GB, free: 432 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.6494, allocations: 245.9 kB / 0.5128 GB, free: 428 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.6498, allocations: 276.2 kB / 0.5131 GB, free: 428 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004428/0.6542, allocations: 2.801 MB / 0.5158 GB, free: 248 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6542, allocations: 0 / 0.5158 GB, free: 248 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6542, allocations: 0 / 0.5158 GB, free: 248 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.6543, allocations: 0 / 0.5158 GB, free: 248 kB / 430.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.002164/0.6564, allocations: 1.094 MB / 0.5169 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.6565, allocations: 11.55 kB / 0.5169 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.6568, allocations: 65.77 kB / 0.5169 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.6573, allocations: 302.9 kB / 0.5172 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.6573, allocations: 36.69 kB / 0.5173 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.6574, allocations: 49.56 kB / 0.5173 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/0.6583, allocations: 0.8095 MB / 0.5181 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6583, allocations: 0 / 0.5181 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.6584, allocations: 19.78 kB / 0.5181 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.6584, allocations: 10.91 kB / 0.5181 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.6592, allocations: 0.5929 MB / 0.5187 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.6617, allocations: 1.233 MB / 0.5199 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.6628, allocations: 0.5209 MB / 0.5204 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.6631, allocations: 249.6 kB / 0.5207 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.6634, allocations: 105.5 kB / 0.5208 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.6634, allocations: 40.34 kB / 0.5208 GB, free: 14.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 1.703e-06/0.6634, allocations: 0 / 0.5208 GB, free: 14.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=65): time 0.014/0.6774, allocations: 3.414 MB / 0.5241 GB, free: 13.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.6775, allocations: 61.89 kB / 0.5242 GB, free: 13.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.6777, allocations: 238.9 kB / 0.5244 GB, free: 12.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/0.6778, allocations: 40.55 kB / 0.5245 GB, free: 12.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.678, allocations: 201.6 kB / 0.5246 GB, free: 12.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.6782, allocations: 237.8 kB / 0.5249 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.6784, allocations: 120.6 kB / 0.525 GB, free: 12.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.6786, allocations: 343.4 kB / 0.5253 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006894/0.6793, allocations: 314.2 kB / 0.5256 GB, free: 11.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.68, allocations: 389.8 kB / 0.526 GB, free: 11.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.6815, allocations: 0.7046 MB / 0.5267 GB, free: 11.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6816, allocations: 0 / 0.5267 GB, free: 11.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002186/0.6837, allocations: 0.9556 MB / 0.5276 GB, free: 10.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.6838, allocations: 9.875 kB / 0.5276 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.6838, allocations: 2.531 kB / 0.5276 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.6853, allocations: 336.3 kB / 0.5279 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.6858, allocations: 121.2 kB / 0.5281 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004115/0.6899, allocations: 3.447 MB / 0.5314 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/0.6905, allocations: 42.28 kB / 0.5315 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/0.6906, allocations: 24.14 kB / 0.5315 GB, free: 7.312 MB / 446.1 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.0003541/0.6909, allocations: 195.9 kB / 0.5317 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.691, allocations: 42.64 kB / 0.5317 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.6936, allocations: 1.023 MB / 0.5327 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.6936, allocations: 10.28 kB / 0.5327 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.6936, allocations: 3.094 kB / 0.5327 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002153/0.6957, allocations: 1.062 MB / 0.5338 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/0.6989, allocations: 1.501 MB / 0.5352 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6989, allocations: 0 / 0.5352 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/0.6994, allocations: 114.1 kB / 0.5353 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.7013, allocations: 380.5 kB / 0.5357 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.7014, allocations: 23.89 kB / 0.5357 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.7029, allocations: 0.865 MB / 0.5366 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7029, allocations: 2.719 kB / 0.5366 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.7059, allocations: 1.334 MB / 0.5379 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.7061, allocations: 39.8 kB / 0.5379 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.21e-05/0.7061, allocations: 16 kB / 0.5379 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006539/0.7068, allocations: 52.03 kB / 0.538 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.7069, allocations: 48.5 kB / 0.538 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.707, allocations: 23.98 kB / 0.538 GB, free: 2.547 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.7072, allocations: 193.2 kB / 0.5382 GB, free: 2.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7072, allocations: 0 / 0.5382 GB, free: 2.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001412/0.7086, allocations: 454.8 kB / 0.5387 GB, free: 1.91 MB / 446.1 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.00131/0.7099, allocations: 0.5761 MB / 0.5392 GB, free: 1.359 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.7121, allocations: 0.9671 MB / 0.5402 GB, free: 388 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7121, allocations: 4 kB / 0.5402 GB, free: 384 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.7131, allocations: 404.5 kB / 0.5406 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.7144, allocations: 252 kB / 0.5408 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.7175, allocations: 1.299 MB / 0.5421 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.7178, allocations: 250.4 kB / 0.5423 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004725/0.7183, allocations: 124.2 kB / 0.5424 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.7184, allocations: 56.42 kB / 0.5425 GB, free: 13.99 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.7184, allocations: 0 / 0.5425 GB, free: 13.99 MB / 462.1 MB Notification: Performance of Templates: time 0.03398/0.7524, allocations: 20.37 MB / 0.5624 GB, free: 9.629 MB / 478.1 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 -s ida -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/jenkins1/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/jenkins1/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.952067616046406]