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.002072/0.002072, allocations: 85.08 kB / 21.44 MB, free: 296 kB / 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.002341/0.002341, allocations: 164.3 kB / 24.7 MB, free: 3.547 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.373/1.373, allocations: 158.6 MB / 186.5 MB, free: 6.41 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: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 299 MB, free: 8.684 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.137e-05, allocations: 6.219 kB / 299 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3754/0.3754, allocations: 161.6 MB / 460.7 MB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007365/0.3828, allocations: 4.35 MB / 465 MB, free: 7.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.383, allocations: 7.938 kB / 465 MB, free: 7.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.3841, allocations: 231.2 kB / 465.2 MB, free: 7.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009242/0.3851, allocations: 405.3 kB / 465.6 MB, free: 7.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008552/0.3936, allocations: 2.946 MB / 468.6 MB, free: 4.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.3953, allocations: 1.169 MB / 469.7 MB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.3955, allocations: 97.81 kB / 469.8 MB, free: 2.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00396/0.3995, allocations: 1.652 MB / 471.5 MB, free: 1.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007183/0.4002, allocations: 405.1 kB / 471.9 MB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.4004, allocations: 64 kB / 472 MB, free: 0.7773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00794/0.4083, allocations: 3.501 MB / 475.5 MB, free: 13.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004517/0.4087, allocations: 251.4 kB / 475.7 MB, free: 13.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005135/0.4093, allocations: 251.5 kB / 475.9 MB, free: 12.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007508/0.4168, allocations: 3.176 MB / 479.1 MB, free: 9.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4168, allocations: 0 / 479.1 MB, free: 9.594 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4168, allocations: 0 / 479.1 MB, free: 9.594 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.4168, allocations: 0 / 479.1 MB, free: 9.594 MB / 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.002719/0.4195, allocations: 1.091 MB / 480.2 MB, free: 8.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.4196, allocations: 15.98 kB / 480.2 MB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.42, allocations: 67.66 kB / 480.3 MB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005778/0.4206, allocations: 304.2 kB / 480.6 MB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.4206, allocations: 33 kB / 480.6 MB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/0.4207, allocations: 40 kB / 480.7 MB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.4219, allocations: 0.8073 MB / 481.5 MB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.4219, allocations: 4 kB / 481.5 MB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.422, allocations: 20 kB / 481.5 MB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.422, allocations: 15.94 kB / 481.5 MB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.423, allocations: 0.5934 MB / 482.1 MB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.4261, allocations: 1.233 MB / 483.3 MB, free: 5.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.4274, allocations: 0.5289 MB / 483.9 MB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.4278, allocations: 247.3 kB / 484.1 MB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/0.4282, allocations: 100.4 kB / 484.2 MB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.4282, allocations: 43 kB / 484.2 MB, free: 4.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.214e-06/0.4282, allocations: 0 / 484.2 MB, free: 4.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.0156/0.4438, allocations: 3.418 MB / 487.7 MB, free: 0.8242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.4439, allocations: 67.98 kB / 487.7 MB, free: 0.7461 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.4442, allocations: 240 kB / 488 MB, free: 0.5039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/0.4443, allocations: 41.7 kB / 488 MB, free: 468 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.4444, allocations: 197.4 kB / 488.2 MB, free: 268 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.4446, allocations: 230 kB / 488.4 MB, free: 36 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1989/0.6435, allocations: 115.3 kB / 488.5 MB, free: 160.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6436, allocations: 347.2 kB / 488.9 MB, free: 160 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009144/0.6446, allocations: 311.6 kB / 489.2 MB, free: 160 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008658/0.6454, allocations: 389.1 kB / 489.6 MB, free: 160 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.6471, allocations: 0.7131 MB / 490.3 MB, free: 159.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6471, allocations: 0 / 490.3 MB, free: 159.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002433/0.6495, allocations: 0.9487 MB / 491.2 MB, free: 159.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.6496, allocations: 6.844 kB / 491.2 MB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6496, allocations: 1.281 kB / 491.2 MB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/0.6512, allocations: 340.1 kB / 491.6 MB, free: 159.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.6518, allocations: 123.7 kB / 491.7 MB, free: 159.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.6549, allocations: 3.458 MB / 495.1 MB, free: 156.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.6555, allocations: 34.86 kB / 495.2 MB, free: 156.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/0.6556, allocations: 24.88 kB / 495.2 MB, free: 156.1 MB / 430.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.0002977/0.6558, allocations: 193.6 kB / 495.4 MB, free: 155.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.656, allocations: 41.92 kB / 495.4 MB, free: 155.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.6587, allocations: 1.015 MB / 496.4 MB, free: 155.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.6587, allocations: 6.656 kB / 496.4 MB, free: 155.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6587, allocations: 5 kB / 496.5 MB, free: 155.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002167/0.6609, allocations: 1.065 MB / 497.5 MB, free: 154.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.6642, allocations: 1.493 MB / 499 MB, free: 154.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6642, allocations: 1.859 kB / 499 MB, free: 154.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/0.6648, allocations: 115.2 kB / 499.1 MB, free: 154.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/0.6668, allocations: 370.8 kB / 499.5 MB, free: 154.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/0.6668, allocations: 25.02 kB / 499.5 MB, free: 154.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.6684, allocations: 0.8753 MB / 0.4887 GB, free: 153.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6684, allocations: 2.141 kB / 0.4887 GB, free: 153.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/0.6717, allocations: 1.331 MB / 0.49 GB, free: 152.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.6719, allocations: 40.64 kB / 0.49 GB, free: 152.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.672, allocations: 16.3 kB / 0.49 GB, free: 152.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/0.6726, allocations: 48.27 kB / 0.4901 GB, free: 152.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.6727, allocations: 46.77 kB / 0.4901 GB, free: 152.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-05/0.6728, allocations: 29.77 kB / 0.4901 GB, free: 152.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002559/0.6731, allocations: 187.4 kB / 0.4903 GB, free: 152.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6731, allocations: 0 / 0.4903 GB, free: 152.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001803/0.6749, allocations: 458.1 kB / 0.4907 GB, free: 152.7 MB / 430.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.001456/0.6763, allocations: 0.604 MB / 0.4913 GB, free: 152.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002301/0.6786, allocations: 0.9632 MB / 0.4923 GB, free: 152.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6786, allocations: 4.281 kB / 0.4923 GB, free: 152.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009393/0.6796, allocations: 408 kB / 0.4927 GB, free: 152 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.6809, allocations: 247.2 kB / 0.4929 GB, free: 151.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.6837, allocations: 1.223 MB / 0.4941 GB, free: 151.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.6839, allocations: 249.6 kB / 0.4943 GB, free: 151.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005535/0.6845, allocations: 120.5 kB / 0.4945 GB, free: 151.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.6847, allocations: 52.72 kB / 0.4945 GB, free: 151.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.673e-06/0.6847, allocations: 0 / 0.4945 GB, free: 151.2 MB / 430.1 MB Notification: Performance of Templates: time 0.0288/0.7135, allocations: 20.37 MB / 0.5144 GB, free: 133.5 MB / 430.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 -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: 6.012287650257349]