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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 114.5 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 183 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 51.92 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09132, allocations: 46.62 MB / 375.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4378/0.5291, allocations: 186.6 MB / 0.5486 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.3418/0.871, allocations: 4.779 MB / 0.5533 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000345/0.8714, allocations: 3.688 kB / 0.5533 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008907/0.8724, allocations: 253 kB / 0.5535 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007458/0.8731, allocations: 369.5 kB / 0.5539 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009198/0.8823, allocations: 2.867 MB / 0.5567 GB, free: 1.473 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.8846, allocations: 1.164 MB / 0.5578 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003383/0.8849, allocations: 156.1 kB / 0.558 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004567/0.8895, allocations: 1.458 MB / 0.5594 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007341/0.8902, allocations: 426 kB / 0.5598 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.8904, allocations: 63 kB / 0.5598 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009842/0.9002, allocations: 4.216 MB / 0.564 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000578/0.9009, allocations: 229.3 kB / 0.5642 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009055/0.9018, allocations: 319.8 kB / 0.5645 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.9128, allocations: 2.905 MB / 0.5673 GB, free: 1.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.9128, allocations: 0 / 0.5673 GB, free: 1.25 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.9129, allocations: 1.938 kB / 0.5673 GB, free: 1.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.9129, allocations: 0 / 0.5673 GB, free: 1.25 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.003852/0.9167, allocations: 1.141 MB / 0.5684 GB, free: 16.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.9168, allocations: 12.89 kB / 0.5684 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.9172, allocations: 61.12 kB / 0.5685 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.9177, allocations: 360.5 kB / 0.5689 GB, free: 16.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.9177, allocations: 37.34 kB / 0.5689 GB, free: 16.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/0.9178, allocations: 46.12 kB / 0.5689 GB, free: 16.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/0.9187, allocations: 0.5055 MB / 0.5694 GB, free: 16.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.9187, allocations: 3.094 kB / 0.5694 GB, free: 16.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.9188, allocations: 21 kB / 0.5694 GB, free: 16.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.9188, allocations: 11 kB / 0.5695 GB, free: 16.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.9199, allocations: 0.5991 MB / 0.57 GB, free: 16.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.9232, allocations: 2.172 MB / 0.5722 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.9243, allocations: 0.554 MB / 0.5727 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.9247, allocations: 263.5 kB / 0.573 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/0.9253, allocations: 0.6936 MB / 0.5736 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.9253, allocations: 43.5 kB / 0.5737 GB, free: 14.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 1.993e-06/0.9253, allocations: 0 / 0.5737 GB, free: 14.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01369/0.939, allocations: 3.637 MB / 0.5772 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.9391, allocations: 58.75 kB / 0.5773 GB, free: 13.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.9394, allocations: 299 kB / 0.5776 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.751e-05/0.9395, allocations: 40.95 kB / 0.5776 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.9396, allocations: 190.4 kB / 0.5778 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.9398, allocations: 226.3 kB / 0.578 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.94, allocations: 113 kB / 0.5781 GB, free: 13.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9401, allocations: 350.8 kB / 0.5784 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006281/0.9408, allocations: 314.3 kB / 0.5787 GB, free: 12.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.9414, allocations: 384.2 kB / 0.5791 GB, free: 12.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.9427, allocations: 0.7084 MB / 0.5798 GB, free: 12.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.9428, allocations: 1.375 kB / 0.5798 GB, free: 12.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001997/0.9448, allocations: 0.9688 MB / 0.5808 GB, free: 12.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.9448, allocations: 6.609 kB / 0.5808 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.9448, allocations: 3.531 kB / 0.5808 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.9463, allocations: 334.3 kB / 0.5811 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.9468, allocations: 117.1 kB / 0.5812 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003588/0.9504, allocations: 3.711 MB / 0.5848 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.9511, allocations: 38.03 kB / 0.5849 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.9512, allocations: 31.2 kB / 0.5849 GB, free: 9.395 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.0003428/0.9515, allocations: 194.7 kB / 0.5851 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.9517, allocations: 43.12 kB / 0.5851 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.9541, allocations: 1.016 MB / 0.5861 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.9541, allocations: 11.44 kB / 0.5861 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9541, allocations: 3.281 kB / 0.5861 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001978/0.9561, allocations: 1.077 MB / 0.5872 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.9591, allocations: 1.693 MB / 0.5888 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.9591, allocations: 1.734 kB / 0.5888 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.9596, allocations: 111.9 kB / 0.5889 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.9613, allocations: 370 kB / 0.5893 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.9614, allocations: 23.08 kB / 0.5893 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.9628, allocations: 0.8725 MB / 0.5902 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.9628, allocations: 8.75 kB / 0.5902 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.9655, allocations: 1.34 MB / 0.5915 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.9657, allocations: 125.8 kB / 0.5916 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.814e-05/0.9658, allocations: 15.81 kB / 0.5916 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006486/0.9664, allocations: 45.5 kB / 0.5917 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.9665, allocations: 36.84 kB / 0.5917 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.9666, allocations: 35.8 kB / 0.5917 GB, free: 7.613 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.9669, allocations: 220.8 kB / 0.5919 GB, free: 7.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9669, allocations: 1.203 kB / 0.5919 GB, free: 7.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001975/0.9688, allocations: 457.7 kB / 0.5924 GB, free: 7.461 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.001429/0.9703, allocations: 0.5705 MB / 0.5929 GB, free: 7.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.9725, allocations: 1.004 MB / 0.5939 GB, free: 7.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.9725, allocations: 0 / 0.5939 GB, free: 7.066 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008692/0.9734, allocations: 423.9 kB / 0.5943 GB, free: 7.062 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.9749, allocations: 299 kB / 0.5946 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.9779, allocations: 1.329 MB / 0.5959 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.9784, allocations: 0.8467 MB / 0.5967 GB, free: 5.855 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005558/0.979, allocations: 139.2 kB / 0.5969 GB, free: 5.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.9791, allocations: 56.16 kB / 0.5969 GB, free: 5.809 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.9791, allocations: 0 / 0.5969 GB, free: 5.809 MB / 494.1 MB Notification: Performance of Templates: time 0.04583/1.025, allocations: 22.1 MB / 0.6185 GB, free: 7.117 MB / 0.4981 GB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (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) 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) Reference file matches