Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,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.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,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.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 113.2 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.001133/0.001133, allocations: 188.2 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.374/1.374, 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.001259/0.001259, allocations: 56.25 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08302/0.08429, allocations: 46.62 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2054/0.2897, allocations: 50.69 MB / 425.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007747/0.2975, allocations: 5.2 MB / 431 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.2977, allocations: 4.75 kB / 431.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007358/0.2985, allocations: 244.9 kB / 431.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006133/0.2991, allocations: 365.9 kB / 431.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02206/0.3212, allocations: 6.755 MB / 438.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.3226, allocations: 1.091 MB / 439.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.3229, allocations: 158.4 kB / 439.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006527/0.3295, allocations: 3.59 MB / 443.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.33, allocations: 406.6 kB / 443.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.3301, allocations: 60 kB / 443.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01739/0.3475, allocations: 9.814 MB / 453.5 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.3479, allocations: 219.5 kB / 453.7 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.3483, allocations: 303 kB / 454 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.3592, allocations: 5.485 MB / 459.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3593, allocations: 0 / 459.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3593, allocations: 0 / 459.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3593, allocations: 8 kB / 459.5 MB, free: 11.14 MB / 382.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.002837/0.3621, allocations: 1.342 MB / 460.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.3622, allocations: 11.89 kB / 460.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.3626, allocations: 59.44 kB / 460.9 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.3631, allocations: 377.9 kB / 461.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.3631, allocations: 29 kB / 461.3 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/0.3632, allocations: 44 kB / 461.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.3645, allocations: 0.5843 MB / 462 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3645, allocations: 7.906 kB / 462 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.538e-05/0.3646, allocations: 18.81 kB / 462 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.3646, allocations: 12 kB / 462 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.366, allocations: 0.7495 MB / 462.7 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01576/0.3817, allocations: 11.96 MB / 474.7 MB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.383, allocations: 0.5198 MB / 475.2 MB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.3834, allocations: 254 kB / 475.5 MB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01426/0.3977, allocations: 11.9 MB / 487.4 MB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.3978, allocations: 47 kB / 487.4 MB, free: 10.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.645e-06/0.3978, allocations: 3.938 kB / 487.4 MB, free: 10.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.00578/0.4036, allocations: 2.112 MB / 489.5 MB, free: 8.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.4036, allocations: 59.97 kB / 489.6 MB, free: 8.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.404, allocations: 315 kB / 489.9 MB, free: 8.156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.4041, allocations: 37.7 kB / 489.9 MB, free: 8.113 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.4042, allocations: 204.3 kB / 490.1 MB, free: 7.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.4043, allocations: 193.2 kB / 490.3 MB, free: 7.719 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.4045, allocations: 114.2 kB / 490.4 MB, free: 7.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4046, allocations: 350.8 kB / 490.8 MB, free: 7.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.405, allocations: 237 kB / 491 MB, free: 7.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.4056, allocations: 335.3 kB / 491.3 MB, free: 6.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.4068, allocations: 0.6034 MB / 491.9 MB, free: 6.023 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4068, allocations: 0 / 491.9 MB, free: 6.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001771/0.4086, allocations: 0.7478 MB / 492.7 MB, free: 5.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4086, allocations: 8.281 kB / 492.7 MB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4086, allocations: 12.81 kB / 492.7 MB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/0.4091, allocations: 110.5 kB / 492.8 MB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.4096, allocations: 119.9 kB / 492.9 MB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.412, allocations: 3.48 MB / 496.4 MB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.4123, allocations: 12 kB / 496.4 MB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/0.4124, allocations: 31.98 kB / 496.5 MB, free: 1.176 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002341/0.4126, allocations: 193.5 kB / 496.6 MB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.4129, allocations: 47.47 kB / 496.7 MB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.4145, allocations: 0.819 MB / 497.5 MB, free: 80 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.4145, allocations: 8 kB / 497.5 MB, free: 72 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.4145, allocations: 0 / 497.5 MB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/0.4156, allocations: 0.7596 MB / 498.3 MB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.4176, allocations: 1.301 MB / 499.6 MB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4176, allocations: 0 / 499.6 MB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.418, allocations: 107.9 kB / 499.7 MB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009029/0.4189, allocations: 140.6 kB / 499.8 MB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.419, allocations: 27.92 kB / 499.8 MB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003879/0.4194, allocations: 0.6444 MB / 0.4888 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4194, allocations: 0 / 0.4888 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.421, allocations: 0.9094 MB / 0.4896 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.4211, allocations: 112.6 kB / 0.4898 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/0.4212, allocations: 19.98 kB / 0.4898 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.4216, allocations: 24.06 kB / 0.4898 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.4217, allocations: 32.39 kB / 0.4898 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.4218, allocations: 23.98 kB / 0.4898 GB, free: 11.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002645/0.422, allocations: 261.9 kB / 0.4901 GB, free: 11.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.422, allocations: 0 / 0.4901 GB, free: 11.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003454/0.4255, allocations: 1.308 MB / 0.4914 GB, free: 10.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005054/0.4306, allocations: 1.71 MB / 0.493 GB, free: 8.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.4321, allocations: 0.7997 MB / 0.4938 GB, free: 7.656 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.4322, allocations: 0 / 0.4938 GB, free: 7.656 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.4327, allocations: 295.8 kB / 0.4941 GB, free: 7.367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.4341, allocations: 268.4 kB / 0.4944 GB, free: 7.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.436, allocations: 1.091 MB / 0.4954 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.4364, allocations: 0.8365 MB / 0.4962 GB, free: 5.113 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004839/0.4369, allocations: 152.3 kB / 0.4964 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.4371, allocations: 59.41 kB / 0.4964 GB, free: 4.906 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4371, allocations: 0 / 0.4964 GB, free: 4.906 MB / 430.1 MB Notification: Performance of Templates: time 0.05981/0.4969, allocations: 46.42 MB / 0.5418 GB, free: 6.402 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches