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.001277/0.001277, allocations: 112.2 kB / 17.28 MB, free: 6.199 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.001357/0.001357, allocations: 193.3 kB / 18.2 MB, free: 5.277 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.32/1.32, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001124/0.001125, allocations: 43.94 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08263, allocations: 46.63 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3607/0.4434, allocations: 184.3 MB / 0.4991 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006927/0.4504, allocations: 4.754 MB / 0.5038 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004468/0.4508, allocations: 4 kB / 0.5038 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.4522, allocations: 238.8 kB / 0.504 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.4533, allocations: 346.2 kB / 0.5043 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007696/0.461, allocations: 2.609 MB / 0.5069 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.4625, allocations: 1.173 MB / 0.508 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.4628, allocations: 150.5 kB / 0.5082 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/0.466, allocations: 1.391 MB / 0.5095 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006887/0.4667, allocations: 454.6 kB / 0.5099 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.4669, allocations: 64 kB / 0.51 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007229/0.4741, allocations: 4.227 MB / 0.5141 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.4745, allocations: 231.4 kB / 0.5144 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000512/0.475, allocations: 318.9 kB / 0.5147 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005129/0.4802, allocations: 2.993 MB / 0.5176 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.4802, allocations: 4 kB / 0.5176 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4802, allocations: 4 kB / 0.5176 GB, free: 12.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.236e-05/0.4803, allocations: 0 / 0.5176 GB, free: 12.05 MB / 430.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.003034/0.4833, allocations: 1.138 MB / 0.5187 GB, free: 10.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4834, allocations: 11.89 kB / 0.5187 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.4838, allocations: 59.52 kB / 0.5188 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.4843, allocations: 369.2 kB / 0.5191 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.4844, allocations: 32.94 kB / 0.5192 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/0.4845, allocations: 40 kB / 0.5192 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009306/0.4854, allocations: 0.5062 MB / 0.5197 GB, free: 9.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.4854, allocations: 4 kB / 0.5197 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.225e-05/0.4855, allocations: 24 kB / 0.5197 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4855, allocations: 8 kB / 0.5197 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009335/0.4865, allocations: 0.5973 MB / 0.5203 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.4898, allocations: 2.164 MB / 0.5224 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.4909, allocations: 0.5553 MB / 0.523 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.4913, allocations: 270 kB / 0.5232 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005853/0.4919, allocations: 0.6926 MB / 0.5239 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.492, allocations: 39 kB / 0.5239 GB, free: 5.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.733e-06/0.492, allocations: 0 / 0.5239 GB, free: 5.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01447/0.5065, allocations: 3.657 MB / 0.5275 GB, free: 1.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.5065, allocations: 55.97 kB / 0.5276 GB, free: 1.258 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.5069, allocations: 294.7 kB / 0.5278 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.553e-05/0.507, allocations: 45.64 kB / 0.5279 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.5071, allocations: 193.2 kB / 0.5281 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.5073, allocations: 224.7 kB / 0.5283 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.5075, allocations: 114.3 kB / 0.5284 GB, free: 388 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5076, allocations: 350.8 kB / 0.5287 GB, free: 28 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1627/0.6704, allocations: 307.9 kB / 0.529 GB, free: 166.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/0.6712, allocations: 388 kB / 0.5294 GB, free: 166.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.6728, allocations: 0.7103 MB / 0.5301 GB, free: 166.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6728, allocations: 0.5 kB / 0.5301 GB, free: 166.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002456/0.6753, allocations: 0.9617 MB / 0.531 GB, free: 165.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.6753, allocations: 7.062 kB / 0.531 GB, free: 165.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6753, allocations: 1.375 kB / 0.531 GB, free: 165.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.6769, allocations: 337.8 kB / 0.5313 GB, free: 165.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.6775, allocations: 121.8 kB / 0.5315 GB, free: 165.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/0.6807, allocations: 3.705 MB / 0.5351 GB, free: 162.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.6814, allocations: 61.86 kB / 0.5351 GB, free: 162.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.557e-05/0.6815, allocations: 26.58 kB / 0.5352 GB, free: 162.3 MB / 430.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.0002956/0.6818, allocations: 193.8 kB / 0.5354 GB, free: 162.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.682, allocations: 45.03 kB / 0.5354 GB, free: 162.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/0.6848, allocations: 1.023 MB / 0.5364 GB, free: 161.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.6848, allocations: 5.875 kB / 0.5364 GB, free: 161.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6848, allocations: 1 kB / 0.5364 GB, free: 161.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00201/0.6868, allocations: 1.066 MB / 0.5374 GB, free: 161.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.6901, allocations: 1.7 MB / 0.5391 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.6901, allocations: 3.719 kB / 0.5391 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.6907, allocations: 113 kB / 0.5392 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/0.6926, allocations: 370.3 kB / 0.5396 GB, free: 160.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/0.6927, allocations: 22.56 kB / 0.5396 GB, free: 160.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.694, allocations: 0.8733 MB / 0.5404 GB, free: 159.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.694, allocations: 2.016 kB / 0.5404 GB, free: 159.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.697, allocations: 1.342 MB / 0.5418 GB, free: 159 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.6972, allocations: 118.8 kB / 0.5419 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.6973, allocations: 25.34 kB / 0.5419 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/0.698, allocations: 53.3 kB / 0.5419 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.6981, allocations: 41.28 kB / 0.542 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.6982, allocations: 34.31 kB / 0.542 GB, free: 158.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.6984, allocations: 222.1 kB / 0.5422 GB, free: 158.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6984, allocations: 4 kB / 0.5422 GB, free: 158.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001354/0.6998, allocations: 457.7 kB / 0.5427 GB, free: 158.7 MB / 430.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.001406/0.7012, allocations: 0.5748 MB / 0.5432 GB, free: 158.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.7035, allocations: 1.061 MB / 0.5443 GB, free: 158 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7035, allocations: 1.375 kB / 0.5443 GB, free: 158 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008817/0.7044, allocations: 422.2 kB / 0.5447 GB, free: 157.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.7058, allocations: 310.3 kB / 0.545 GB, free: 157.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.7084, allocations: 1.49 MB / 0.5464 GB, free: 157 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.7087, allocations: 0.8483 MB / 0.5472 GB, free: 156.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005866/0.7093, allocations: 135 kB / 0.5474 GB, free: 156.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.7094, allocations: 54.8 kB / 0.5474 GB, free: 156.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.7094, allocations: 0 / 0.5474 GB, free: 156.2 MB / 430.1 MB Notification: Performance of Templates: time 0.02558/0.735, allocations: 21.89 MB / 0.5688 GB, free: 136.8 MB / 430.1 MB 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","../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