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.001815/0.001815, allocations: 120.2 kB / 21.94 MB, free: 8 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.00189/0.00189, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.473/1.473, allocations: 207.6 MB / 236 MB, free: 9.984 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.001727/0.001727, allocations: 52.39 kB / 348.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2665, allocations: 49.17 MB / 397.6 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5841/0.8507, allocations: 187.5 MB / 0.5714 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006384/0.857, allocations: 4.842 MB / 0.5762 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.8574, allocations: 7.219 kB / 0.5762 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000848/0.8582, allocations: 255 kB / 0.5764 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008073/0.859, allocations: 383.8 kB / 0.5768 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008977/0.868, allocations: 2.912 MB / 0.5796 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002058/0.87, allocations: 1.183 MB / 0.5808 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.8703, allocations: 112.6 kB / 0.5809 GB, free: 1.602 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004383/0.8747, allocations: 1.489 MB / 0.5823 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008582/0.8755, allocations: 454 kB / 0.5828 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.8757, allocations: 62.47 kB / 0.5828 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009219/0.8849, allocations: 4.374 MB / 0.5871 GB, free: 1.531 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004441/0.8853, allocations: 244.3 kB / 0.5873 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007151/0.8861, allocations: 316.9 kB / 0.5876 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007719/0.8938, allocations: 2.922 MB / 0.5905 GB, free: 1.375 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.8938, allocations: 0 / 0.5905 GB, free: 1.375 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.8938, allocations: 4.062 kB / 0.5905 GB, free: 1.375 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.8938, allocations: 0 / 0.5905 GB, free: 1.375 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.003145/0.8969, allocations: 1.098 MB / 0.5916 GB, free: 16.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.897, allocations: 16.45 kB / 0.5916 GB, free: 16.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.8974, allocations: 65.38 kB / 0.5916 GB, free: 16.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.8979, allocations: 305.3 kB / 0.5919 GB, free: 16.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.8979, allocations: 36.58 kB / 0.592 GB, free: 16.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.222e-05/0.898, allocations: 40.53 kB / 0.592 GB, free: 16.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008249/0.8988, allocations: 0.5018 MB / 0.5925 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.8989, allocations: 0 / 0.5925 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.8989, allocations: 23.12 kB / 0.5925 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.8989, allocations: 10.41 kB / 0.5925 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008321/0.8998, allocations: 0.6082 MB / 0.5931 GB, free: 16.49 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.903, allocations: 1.839 MB / 0.5949 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.904, allocations: 0.5276 MB / 0.5954 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.9044, allocations: 247 kB / 0.5957 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.9046, allocations: 101.8 kB / 0.5958 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.9047, allocations: 43.97 kB / 0.5958 GB, free: 15.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/0.9047, allocations: 0 / 0.5958 GB, free: 15.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01361/0.9183, allocations: 3.412 MB / 0.5991 GB, free: 15.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.9184, allocations: 57.47 kB / 0.5992 GB, free: 15.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.9188, allocations: 293.6 kB / 0.5995 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.009e-05/0.9189, allocations: 40.7 kB / 0.5995 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.919, allocations: 198.3 kB / 0.5997 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.9192, allocations: 236.2 kB / 0.5999 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.9194, allocations: 116.1 kB / 0.6 GB, free: 14.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.9196, allocations: 355.2 kB / 0.6004 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.9202, allocations: 314.1 kB / 0.6007 GB, free: 14.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007058/0.9209, allocations: 388.2 kB / 0.6011 GB, free: 14.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.9223, allocations: 0.7103 MB / 0.6017 GB, free: 14.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9223, allocations: 3.094 kB / 0.6018 GB, free: 14.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002117/0.9244, allocations: 0.9551 MB / 0.6027 GB, free: 14.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.9244, allocations: 5.594 kB / 0.6027 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9244, allocations: 4.5 kB / 0.6027 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.926, allocations: 338.7 kB / 0.603 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.9266, allocations: 117.4 kB / 0.6031 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004518/0.9311, allocations: 3.516 MB / 0.6066 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/0.9318, allocations: 35.45 kB / 0.6066 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/0.9319, allocations: 27.06 kB / 0.6066 GB, free: 11.27 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.0003994/0.9323, allocations: 195.6 kB / 0.6068 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.9324, allocations: 45.91 kB / 0.6069 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.935, allocations: 1.027 MB / 0.6079 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.935, allocations: 7.719 kB / 0.6079 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.935, allocations: 4.156 kB / 0.6079 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002132/0.9371, allocations: 1.062 MB / 0.6089 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.9404, allocations: 1.667 MB / 0.6105 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.9404, allocations: 0.875 kB / 0.6105 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.9409, allocations: 114.7 kB / 0.6106 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.9427, allocations: 371.2 kB / 0.611 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.83e-05/0.9428, allocations: 23.09 kB / 0.611 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.9443, allocations: 0.8681 MB / 0.6119 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9443, allocations: 1.734 kB / 0.6119 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.9474, allocations: 1.346 MB / 0.6132 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.9476, allocations: 41 kB / 0.6132 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.9477, allocations: 16.72 kB / 0.6132 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000708/0.9484, allocations: 48.67 kB / 0.6133 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.9485, allocations: 44.67 kB / 0.6133 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.738e-05/0.9486, allocations: 35.66 kB / 0.6134 GB, free: 9.594 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.9489, allocations: 226.7 kB / 0.6136 GB, free: 9.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9489, allocations: 1.203 kB / 0.6136 GB, free: 9.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001637/0.9505, allocations: 459.6 kB / 0.614 GB, free: 9.43 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.001689/0.9522, allocations: 0.5697 MB / 0.6146 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.9544, allocations: 0.976 MB / 0.6155 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.9544, allocations: 2.156 kB / 0.6155 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.9555, allocations: 403.8 kB / 0.6159 GB, free: 9.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.9571, allocations: 301.8 kB / 0.6162 GB, free: 8.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.9603, allocations: 1.374 MB / 0.6175 GB, free: 8.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.9609, allocations: 0.8547 MB / 0.6184 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.9611, allocations: 60.39 kB / 0.6184 GB, free: 7.68 MB / 494.1 MB Notification: Performance of SimCode: time 2.695e-06/0.9611, allocations: 0 / 0.6184 GB, free: 7.68 MB / 494.1 MB Notification: Performance of Templates: time 0.02996/0.9911, allocations: 17.53 MB / 0.6356 GB, free: 9.801 MB / 0.4981 GB " [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.071945817908272]