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.001708/0.001708, allocations: 103.6 kB / 21.18 MB, free: 332 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.002061/0.002061, allocations: 209.4 kB / 24.47 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.69/1.69, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.0019/0.0019, allocations: 55.92 kB / 347.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3448, allocations: 49.16 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.2246/0.5694, allocations: 161.7 MB / 0.5455 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006608/0.576, allocations: 4.359 MB / 0.5498 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.5762, allocations: 7.938 kB / 0.5498 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009179/0.5771, allocations: 230.6 kB / 0.55 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007756/0.5779, allocations: 381.8 kB / 0.5504 GB, free: 11.92 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009578/0.5875, allocations: 2.907 MB / 0.5532 GB, free: 9.004 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.5892, allocations: 1.177 MB / 0.5544 GB, free: 7.824 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.5895, allocations: 108.8 kB / 0.5545 GB, free: 7.715 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003848/0.5934, allocations: 1.475 MB / 0.5559 GB, free: 6.234 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006777/0.594, allocations: 434.5 kB / 0.5563 GB, free: 5.809 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.5941, allocations: 60 kB / 0.5564 GB, free: 5.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007455/0.6016, allocations: 3.48 MB / 0.5598 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.6019, allocations: 243.4 kB / 0.56 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.6023, allocations: 279.1 kB / 0.5603 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3158/0.9181, allocations: 2.786 MB / 0.563 GB, free: 7.395 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.9181, allocations: 0.7969 kB / 0.563 GB, free: 7.395 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.9181, allocations: 0 / 0.563 GB, free: 7.395 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.9181, allocations: 0 / 0.563 GB, free: 7.395 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.003777/0.9219, allocations: 1.093 MB / 0.5641 GB, free: 6.762 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.922, allocations: 13.95 kB / 0.5641 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004026/0.9224, allocations: 60.69 kB / 0.5641 GB, free: 6.734 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/0.923, allocations: 305 kB / 0.5644 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.923, allocations: 34.59 kB / 0.5645 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/0.9231, allocations: 48.8 kB / 0.5645 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.9242, allocations: 0.8075 MB / 0.5653 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.9242, allocations: 1.281 kB / 0.5653 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/0.9243, allocations: 20.66 kB / 0.5653 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.9243, allocations: 13.5 kB / 0.5653 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.9254, allocations: 0.5885 MB / 0.5659 GB, free: 6.156 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.9284, allocations: 1.24 MB / 0.5671 GB, free: 5.891 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.9295, allocations: 0.5249 MB / 0.5676 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.9299, allocations: 245.7 kB / 0.5679 GB, free: 5.855 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.9302, allocations: 101.8 kB / 0.5679 GB, free: 5.855 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.9302, allocations: 40.31 kB / 0.568 GB, free: 5.812 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.9302, allocations: 1.203 kB / 0.568 GB, free: 5.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.01412/0.9443, allocations: 3.405 MB / 0.5713 GB, free: 5.512 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.9444, allocations: 58 kB / 0.5714 GB, free: 5.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.9447, allocations: 243.9 kB / 0.5716 GB, free: 5.336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.9447, allocations: 36.48 kB / 0.5716 GB, free: 5.305 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.9449, allocations: 204.3 kB / 0.5718 GB, free: 5.164 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.945, allocations: 240.6 kB / 0.5721 GB, free: 5.012 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.9452, allocations: 117 kB / 0.5722 GB, free: 4.996 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000312/0.9456, allocations: 345.5 kB / 0.5725 GB, free: 20.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/0.9463, allocations: 310.2 kB / 0.5728 GB, free: 20.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000782/0.9471, allocations: 386.8 kB / 0.5732 GB, free: 20.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.9485, allocations: 0.7101 MB / 0.5739 GB, free: 20.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.9485, allocations: 2 kB / 0.5739 GB, free: 20.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002173/0.9507, allocations: 0.9521 MB / 0.5748 GB, free: 20.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.9507, allocations: 8.844 kB / 0.5748 GB, free: 20.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.9507, allocations: 4.312 kB / 0.5748 GB, free: 20.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.9522, allocations: 343.5 kB / 0.5751 GB, free: 20.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/0.9528, allocations: 118.8 kB / 0.5752 GB, free: 20.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.9565, allocations: 3.45 MB / 0.5786 GB, free: 17.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.9571, allocations: 39.2 kB / 0.5787 GB, free: 17.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.9572, allocations: 27 kB / 0.5787 GB, free: 17.57 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.0003482/0.9575, allocations: 198.8 kB / 0.5789 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.9577, allocations: 42.48 kB / 0.5789 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.96, allocations: 1.016 MB / 0.5799 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.96, allocations: 5.938 kB / 0.5799 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.96, allocations: 1.094 kB / 0.5799 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001974/0.962, allocations: 1.062 MB / 0.5809 GB, free: 16.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.965, allocations: 1.512 MB / 0.5824 GB, free: 16.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.965, allocations: 0 / 0.5824 GB, free: 16.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/0.9655, allocations: 113.8 kB / 0.5825 GB, free: 16.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.9672, allocations: 372.3 kB / 0.5829 GB, free: 16.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/0.9672, allocations: 20.56 kB / 0.5829 GB, free: 16.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.9686, allocations: 0.8691 MB / 0.5838 GB, free: 16.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9686, allocations: 7.766 kB / 0.5838 GB, free: 16.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.9711, allocations: 1.34 MB / 0.5851 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.9712, allocations: 30.92 kB / 0.5851 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.9713, allocations: 21.16 kB / 0.5851 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.972, allocations: 44.05 kB / 0.5852 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.972, allocations: 44.55 kB / 0.5852 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.9721, allocations: 32.55 kB / 0.5852 GB, free: 15.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.9723, allocations: 186.8 kB / 0.5854 GB, free: 15.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.9723, allocations: 1.094 kB / 0.5854 GB, free: 15.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001827/0.9741, allocations: 460.2 kB / 0.5859 GB, free: 15.77 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.002555/0.9767, allocations: 0.5772 MB / 0.5864 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.9791, allocations: 0.9605 MB / 0.5874 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.9791, allocations: 0.8438 kB / 0.5874 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009189/0.98, allocations: 413.6 kB / 0.5877 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.9813, allocations: 252.7 kB / 0.588 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.9843, allocations: 1.312 MB / 0.5893 GB, free: 14.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.9846, allocations: 247.6 kB / 0.5895 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006117/0.9852, allocations: 127 kB / 0.5896 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.9854, allocations: 59.61 kB / 0.5897 GB, free: 14.8 MB / 494.1 MB Notification: Performance of SimCode: time 9.21e-07/0.9854, allocations: 0.9375 kB / 0.5897 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Templates: time 0.03567/1.021, allocations: 21.15 MB / 0.6103 GB, free: 10.98 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.719880031421781]