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.001768/0.001768, allocations: 112.4 kB / 21.93 MB, free: 5.219 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.002279/0.002279, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.478/1.478, allocations: 207.7 MB / 236.1 MB, free: 9.82 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.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.002062/0.002062, allocations: 51.92 kB / 348.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3098, allocations: 49.14 MB / 397.6 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2208/0.5306, allocations: 161.7 MB / 0.5463 GB, free: 1.066 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006097/0.5367, allocations: 4.351 MB / 0.5505 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.5368, allocations: 11.94 kB / 0.5505 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000777/0.5376, allocations: 230.6 kB / 0.5507 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006639/0.5383, allocations: 385.8 kB / 0.5511 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008026/0.5463, allocations: 2.902 MB / 0.5539 GB, free: 9.176 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.5477, allocations: 1.185 MB / 0.5551 GB, free: 7.988 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.548, allocations: 105.7 kB / 0.5552 GB, free: 7.879 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.5513, allocations: 1.483 MB / 0.5566 GB, free: 6.391 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/0.552, allocations: 422.6 kB / 0.557 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.5521, allocations: 64 kB / 0.5571 GB, free: 5.914 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006892/0.559, allocations: 3.478 MB / 0.5605 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.5593, allocations: 247.3 kB / 0.5607 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.5596, allocations: 275.1 kB / 0.561 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2893/0.8489, allocations: 2.787 MB / 0.5637 GB, free: 7.543 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.8489, allocations: 0.5938 kB / 0.5637 GB, free: 7.543 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8489, allocations: 0 / 0.5637 GB, free: 7.543 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.849, allocations: 1.156 kB / 0.5637 GB, free: 7.543 MB / 478.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.00285/0.8518, allocations: 1.09 MB / 0.5648 GB, free: 6.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.8519, allocations: 12.89 kB / 0.5648 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/0.8522, allocations: 61 kB / 0.5649 GB, free: 6.883 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006176/0.8529, allocations: 305.8 kB / 0.5652 GB, free: 6.719 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.8529, allocations: 36.34 kB / 0.5652 GB, free: 6.719 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-05/0.853, allocations: 46.59 kB / 0.5652 GB, free: 6.719 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.854, allocations: 0.8059 MB / 0.566 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.8541, allocations: 1.609 kB / 0.566 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.8541, allocations: 20.59 kB / 0.566 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.8541, allocations: 12.75 kB / 0.5661 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.8553, allocations: 0.589 MB / 0.5666 GB, free: 6.305 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.8586, allocations: 1.243 MB / 0.5678 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.8598, allocations: 0.5225 MB / 0.5684 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/0.8602, allocations: 248.4 kB / 0.5686 GB, free: 6.004 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.8605, allocations: 96.39 kB / 0.5687 GB, free: 6.004 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.8605, allocations: 42.66 kB / 0.5687 GB, free: 5.965 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.585e-06/0.8605, allocations: 0.6562 kB / 0.5687 GB, free: 5.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.01452/0.8751, allocations: 3.404 MB / 0.572 GB, free: 5.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.8751, allocations: 62.5 kB / 0.5721 GB, free: 5.598 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.8754, allocations: 242.7 kB / 0.5723 GB, free: 5.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.8755, allocations: 39.39 kB / 0.5724 GB, free: 5.457 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.8756, allocations: 197.3 kB / 0.5726 GB, free: 5.316 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.8758, allocations: 237.9 kB / 0.5728 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.876, allocations: 115.7 kB / 0.5729 GB, free: 5.148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002819/0.8763, allocations: 344.4 kB / 0.5732 GB, free: 20.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.877, allocations: 315 kB / 0.5735 GB, free: 20.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000783/0.8778, allocations: 389 kB / 0.5739 GB, free: 20.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.8795, allocations: 0.7105 MB / 0.5746 GB, free: 20.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8795, allocations: 1.156 kB / 0.5746 GB, free: 20.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00233/0.8819, allocations: 0.9593 MB / 0.5755 GB, free: 20.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.8819, allocations: 10.22 kB / 0.5755 GB, free: 20.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.8819, allocations: 3.828 kB / 0.5755 GB, free: 20.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/0.8836, allocations: 336.1 kB / 0.5759 GB, free: 20.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.8843, allocations: 120.4 kB / 0.576 GB, free: 20.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/0.8881, allocations: 3.458 MB / 0.5794 GB, free: 17.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006753/0.8888, allocations: 33.64 kB / 0.5794 GB, free: 17.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.8888, allocations: 27.84 kB / 0.5794 GB, free: 17.71 MB / 494.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.0004105/0.8892, allocations: 199.4 kB / 0.5796 GB, free: 17.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.8894, allocations: 41.11 kB / 0.5796 GB, free: 17.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.8917, allocations: 1.019 MB / 0.5806 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.8917, allocations: 6.531 kB / 0.5806 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.8917, allocations: 0.9375 kB / 0.5806 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001928/0.8936, allocations: 1.063 MB / 0.5817 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/0.8965, allocations: 1.501 MB / 0.5832 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.8965, allocations: 0 / 0.5832 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.8971, allocations: 113.8 kB / 0.5833 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.8988, allocations: 381.9 kB / 0.5836 GB, free: 16.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/0.8988, allocations: 17.64 kB / 0.5836 GB, free: 16.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.9002, allocations: 0.8694 MB / 0.5845 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9002, allocations: 0 / 0.5845 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.9028, allocations: 1.341 MB / 0.5858 GB, free: 16.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.903, allocations: 34.89 kB / 0.5858 GB, free: 16.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.695e-05/0.903, allocations: 18.02 kB / 0.5859 GB, free: 16.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.9037, allocations: 46.61 kB / 0.5859 GB, free: 16.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.9038, allocations: 44.55 kB / 0.5859 GB, free: 16.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/0.9038, allocations: 32.73 kB / 0.586 GB, free: 16.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.904, allocations: 186.6 kB / 0.5861 GB, free: 16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.904, allocations: 3.562 kB / 0.5862 GB, free: 16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001616/0.9057, allocations: 459.7 kB / 0.5866 GB, free: 15.92 MB / 494.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.001332/0.907, allocations: 0.5705 MB / 0.5871 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.909, allocations: 0.9597 MB / 0.5881 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.909, allocations: 2.719 kB / 0.5881 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008148/0.9098, allocations: 412.5 kB / 0.5885 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.9111, allocations: 252.5 kB / 0.5887 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.9137, allocations: 1.373 MB / 0.5901 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.914, allocations: 251.4 kB / 0.5903 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.9142, allocations: 52.61 kB / 0.5904 GB, free: 14.93 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.9142, allocations: 0.9375 kB / 0.5904 GB, free: 14.93 MB / 494.1 MB Notification: Performance of Templates: time 0.02157/0.9357, allocations: 17.11 MB / 0.6071 GB, free: 13.01 MB / 494.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/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: 10.085318066179752]