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.001451/0.001451, allocations: 103.4 kB / 21.22 MB, free: 392 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.001548/0.001548, allocations: 204.7 kB / 24.51 MB, free: 3.715 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.503/1.503, allocations: 207.7 MB / 235.4 MB, free: 9.762 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.001945/0.001945, allocations: 59 kB / 347.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3263, allocations: 49.16 MB / 397 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2376/0.5639, allocations: 161.7 MB / 0.5456 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006692/0.5706, allocations: 4.366 MB / 0.5499 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.5709, allocations: 11.94 kB / 0.5499 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008775/0.5717, allocations: 226.7 kB / 0.5501 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007868/0.5725, allocations: 381.8 kB / 0.5505 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009474/0.582, allocations: 2.905 MB / 0.5533 GB, free: 8.961 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00181/0.5838, allocations: 1.189 MB / 0.5545 GB, free: 7.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.5841, allocations: 97.69 kB / 0.5546 GB, free: 7.668 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/0.5881, allocations: 1.468 MB / 0.556 GB, free: 6.195 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.5889, allocations: 438.5 kB / 0.5564 GB, free: 5.766 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.589, allocations: 64 kB / 0.5565 GB, free: 5.703 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00795/0.5969, allocations: 3.472 MB / 0.5599 GB, free: 2.227 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004781/0.5974, allocations: 239.4 kB / 0.5601 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005657/0.598, allocations: 287 kB / 0.5604 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3101/0.908, allocations: 2.784 MB / 0.5631 GB, free: 7.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.908, allocations: 2.344 kB / 0.5631 GB, free: 7.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.908, allocations: 0 / 0.5631 GB, free: 7.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.9081, allocations: 0 / 0.5631 GB, free: 7.32 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.003369/0.9114, allocations: 1.095 MB / 0.5642 GB, free: 6.684 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.9115, allocations: 14.48 kB / 0.5642 GB, free: 6.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.9119, allocations: 60.66 kB / 0.5642 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005862/0.9125, allocations: 303.2 kB / 0.5645 GB, free: 6.496 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.9125, allocations: 35.69 kB / 0.5646 GB, free: 6.496 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.966e-05/0.9126, allocations: 47.42 kB / 0.5646 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.9138, allocations: 0.8077 MB / 0.5654 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.9139, allocations: 5.172 kB / 0.5654 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.789e-05/0.9139, allocations: 19.56 kB / 0.5654 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.9139, allocations: 12.62 kB / 0.5654 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.9151, allocations: 0.5864 MB / 0.566 GB, free: 6.078 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.918, allocations: 1.246 MB / 0.5672 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.9193, allocations: 0.5181 MB / 0.5677 GB, free: 5.789 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.9197, allocations: 251 kB / 0.568 GB, free: 5.773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.92, allocations: 99.84 kB / 0.5681 GB, free: 5.773 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.92, allocations: 44 kB / 0.5681 GB, free: 5.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.344e-06/0.92, allocations: 0.875 kB / 0.5681 GB, free: 5.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.0145/0.9345, allocations: 3.403 MB / 0.5714 GB, free: 5.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.9346, allocations: 59.72 kB / 0.5715 GB, free: 5.367 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.9349, allocations: 244.5 kB / 0.5717 GB, free: 5.258 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.935, allocations: 40.14 kB / 0.5717 GB, free: 5.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.9351, allocations: 195.9 kB / 0.5719 GB, free: 5.086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.9353, allocations: 246 kB / 0.5722 GB, free: 4.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.9355, allocations: 113.3 kB / 0.5723 GB, free: 4.914 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.9356, allocations: 348 kB / 0.5726 GB, free: 4.602 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007463/0.9364, allocations: 312.3 kB / 0.5729 GB, free: 4.602 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.9372, allocations: 390.8 kB / 0.5733 GB, free: 4.547 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.9389, allocations: 0.7086 MB / 0.574 GB, free: 4.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9389, allocations: 0 / 0.574 GB, free: 4.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002457/0.9414, allocations: 0.9515 MB / 0.5749 GB, free: 4.391 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.9414, allocations: 8.844 kB / 0.5749 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.9414, allocations: 3.031 kB / 0.5749 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.943, allocations: 343.4 kB / 0.5752 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.9436, allocations: 122.9 kB / 0.5754 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/0.9481, allocations: 3.452 MB / 0.5787 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.9487, allocations: 34.48 kB / 0.5788 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.9488, allocations: 30.42 kB / 0.5788 GB, free: 17.48 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.0003966/0.9492, allocations: 192.5 kB / 0.579 GB, free: 17.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.9493, allocations: 38.91 kB / 0.579 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.9517, allocations: 1.019 MB / 0.58 GB, free: 17.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.9517, allocations: 6.531 kB / 0.58 GB, free: 17.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.9517, allocations: 5.625 kB / 0.58 GB, free: 17.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001947/0.9536, allocations: 1.071 MB / 0.5811 GB, free: 16.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.9565, allocations: 1.495 MB / 0.5825 GB, free: 16.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.9565, allocations: 1.125 kB / 0.5825 GB, free: 16.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.957, allocations: 120.7 kB / 0.5826 GB, free: 16.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.9586, allocations: 370.5 kB / 0.583 GB, free: 16.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/0.9587, allocations: 25.06 kB / 0.583 GB, free: 16.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.96, allocations: 0.8715 MB / 0.5839 GB, free: 16.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.96, allocations: 0 / 0.5839 GB, free: 16.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.9626, allocations: 1.339 MB / 0.5852 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.9628, allocations: 36.81 kB / 0.5852 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.9628, allocations: 17.78 kB / 0.5852 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.9635, allocations: 43.8 kB / 0.5853 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.9635, allocations: 49.81 kB / 0.5853 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.9636, allocations: 32.39 kB / 0.5853 GB, free: 15.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.9638, allocations: 181.8 kB / 0.5855 GB, free: 15.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9638, allocations: 0.9062 kB / 0.5855 GB, free: 15.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001886/0.9657, allocations: 460.6 kB / 0.586 GB, free: 15.68 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.001497/0.9672, allocations: 0.5776 MB / 0.5865 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.9693, allocations: 0.9583 MB / 0.5875 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9693, allocations: 0 / 0.5875 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008284/0.9702, allocations: 413.2 kB / 0.5879 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.9714, allocations: 251 kB / 0.5881 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.9742, allocations: 1.33 MB / 0.5894 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.9745, allocations: 244.6 kB / 0.5896 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005047/0.975, allocations: 126.3 kB / 0.5897 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.9751, allocations: 55.3 kB / 0.5898 GB, free: 14.7 MB / 494.1 MB Notification: Performance of SimCode: time 9.02e-07/0.9751, allocations: 0 / 0.5898 GB, free: 14.7 MB / 494.1 MB Notification: Performance of Templates: time 0.02997/1.005, allocations: 20.36 MB / 0.6097 GB, free: 11.3 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/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.547646574676037]