Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001357/0.001357, allocations: 107.6 kB / 21.18 MB, free: 452 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.001485/0.001485, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.469/1.469, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.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.ReferenceAir.MoistAir1,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.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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [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.003066/0.003066, allocations: 51.92 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2434, allocations: 49.15 MB / 396.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05876/0.3022, allocations: 45.57 MB / 442.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00692/0.3091, allocations: 4.686 MB / 447.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.3094, allocations: 7.938 kB / 447.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008415/0.3103, allocations: 242.6 kB / 447.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000824/0.3111, allocations: 369.9 kB / 447.7 MB, free: 212 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02027/0.3314, allocations: 6.787 MB / 454.5 MB, free: 9.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.3329, allocations: 1.103 MB / 455.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.3332, allocations: 97.81 kB / 455.7 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007452/0.3406, allocations: 3.607 MB / 459.3 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009381/0.3416, allocations: 402.5 kB / 459.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.3418, allocations: 56 kB / 459.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02073/0.3625, allocations: 9.19 MB / 468.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004075/0.3629, allocations: 227.4 kB / 469.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004289/0.3634, allocations: 263.1 kB / 469.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.3759, allocations: 5.413 MB / 474.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3759, allocations: 0 / 474.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3759, allocations: 0 / 474.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3759, allocations: 0 / 474.8 MB, free: 5.031 MB / 382.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.003088/0.379, allocations: 1.315 MB / 476.1 MB, free: 3.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3791, allocations: 11.98 kB / 476.2 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.3794, allocations: 59.7 kB / 476.2 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.38, allocations: 320.1 kB / 476.5 MB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.38, allocations: 37 kB / 476.6 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.3801, allocations: 47.94 kB / 476.6 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.3816, allocations: 0.8855 MB / 477.5 MB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.3816, allocations: 4 kB / 477.5 MB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.3817, allocations: 20 kB / 477.5 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3817, allocations: 8 kB / 477.5 MB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.3832, allocations: 0.7378 MB / 478.3 MB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.3959, allocations: 3.592 MB / 481.9 MB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3972, allocations: 0.5084 MB / 482.4 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003962/0.3976, allocations: 238.1 kB / 482.6 MB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.4084, allocations: 2.577 MB / 485.2 MB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/0.4085, allocations: 42.94 kB / 485.2 MB, free: 10.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.4085, allocations: 0 / 485.2 MB, free: 10.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.0061/0.4146, allocations: 1.882 MB / 487.1 MB, free: 8.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.4146, allocations: 55.91 kB / 487.2 MB, free: 8.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.415, allocations: 264.8 kB / 487.4 MB, free: 8.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.638e-05/0.415, allocations: 41.7 kB / 487.5 MB, free: 8.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.4152, allocations: 209.2 kB / 487.7 MB, free: 7.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.4154, allocations: 202.3 kB / 487.9 MB, free: 7.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.4156, allocations: 118.3 kB / 488 MB, free: 7.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.4157, allocations: 342.8 kB / 488.3 MB, free: 7.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.4162, allocations: 241.1 kB / 488.5 MB, free: 7.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007124/0.4169, allocations: 340.3 kB / 488.9 MB, free: 6.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.4182, allocations: 0.6034 MB / 489.5 MB, free: 6.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4182, allocations: 0 / 489.5 MB, free: 6.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001957/0.4201, allocations: 0.7442 MB / 490.2 MB, free: 5.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.4201, allocations: 8 kB / 490.2 MB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4202, allocations: 4 kB / 490.2 MB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/0.4207, allocations: 114.6 kB / 490.3 MB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.4213, allocations: 127.9 kB / 490.5 MB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.4245, allocations: 3.22 MB / 493.7 MB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.4248, allocations: 12 kB / 493.7 MB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/0.4249, allocations: 31.98 kB / 493.7 MB, free: 1.504 MB / 398.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.0003484/0.4253, allocations: 193.5 kB / 493.9 MB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.4256, allocations: 47.7 kB / 494 MB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.4273, allocations: 0.8036 MB / 494.8 MB, free: 440 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.4273, allocations: 12 kB / 494.8 MB, free: 428 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4273, allocations: 0 / 494.8 MB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001378/0.4287, allocations: 0.7635 MB / 495.5 MB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.4311, allocations: 1.122 MB / 496.7 MB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4311, allocations: 4 kB / 496.7 MB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.4316, allocations: 103.8 kB / 496.8 MB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009607/0.4326, allocations: 156.7 kB / 496.9 MB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.682e-05/0.4326, allocations: 15.98 kB / 496.9 MB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005871/0.4332, allocations: 0.6445 MB / 497.6 MB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4332, allocations: 0 / 497.6 MB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.4352, allocations: 0.9055 MB / 498.5 MB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.4354, allocations: 39.8 kB / 498.5 MB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.594e-05/0.4355, allocations: 15.94 kB / 498.5 MB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.4359, allocations: 19.98 kB / 498.6 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.436, allocations: 36.38 kB / 498.6 MB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.4361, allocations: 27.97 kB / 498.6 MB, free: 12.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002989/0.4364, allocations: 216.4 kB / 498.8 MB, free: 12.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4364, allocations: 0 / 498.8 MB, free: 12.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004186/0.4406, allocations: 1.317 MB / 0.4884 GB, free: 10.87 MB / 414.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.006641/0.4472, allocations: 1.725 MB / 0.4901 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.4493, allocations: 0.7803 MB / 0.4909 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.4493, allocations: 0 / 0.4909 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.45, allocations: 283.2 kB / 0.4912 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.4514, allocations: 221.5 kB / 0.4914 GB, free: 7.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.4537, allocations: 1.1 MB / 0.4924 GB, free: 6.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.4539, allocations: 229.4 kB / 0.4927 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005441/0.4545, allocations: 139.2 kB / 0.4928 GB, free: 6.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.4547, allocations: 55.41 kB / 0.4928 GB, free: 6.258 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4547, allocations: 0 / 0.4928 GB, free: 6.258 MB / 414.1 MB Notification: Performance of Templates: time 0.06954/0.5242, allocations: 46.17 MB / 0.5379 GB, free: 8 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.549774028360844]