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.001464/0.001464, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001781/0.001782, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.307/1.307, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001226/0.001226, allocations: 47.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07912/0.08036, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05231/0.1327, allocations: 50.7 MB / 379.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1574/0.2902, allocations: 5.186 MB / 384.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.2905, allocations: 4.156 kB / 384.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009626/0.2915, allocations: 247.5 kB / 384.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.2926, allocations: 363.7 kB / 385.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.028/0.3206, allocations: 6.754 MB / 392 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.3227, allocations: 1.094 MB / 393 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.3232, allocations: 145.8 kB / 393.2 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.3344, allocations: 3.588 MB / 396.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.3355, allocations: 403.6 kB / 397.2 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002108/0.3358, allocations: 57.94 kB / 397.2 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02553/0.3613, allocations: 9.816 MB / 407 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.3617, allocations: 226 kB / 407.3 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005943/0.3623, allocations: 307 kB / 407.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.3724, allocations: 5.485 MB / 413 MB, free: 4.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3724, allocations: 4 kB / 413.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3724, allocations: 2.594 kB / 413.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.3724, allocations: 0 / 413.1 MB, free: 4.668 MB / 318.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.00308/0.3755, allocations: 1.345 MB / 414.4 MB, free: 3.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3756, allocations: 11.89 kB / 414.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.376, allocations: 59.53 kB / 414.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.3765, allocations: 367.6 kB / 414.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.3765, allocations: 31.69 kB / 414.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/0.3766, allocations: 44 kB / 414.9 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.3777, allocations: 0.5928 MB / 415.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.3777, allocations: 0 / 415.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.3778, allocations: 20 kB / 415.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3778, allocations: 12 kB / 415.5 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3789, allocations: 0.7423 MB / 416.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.3948, allocations: 11.96 MB / 428.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.3961, allocations: 0.5329 MB / 428.8 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.3965, allocations: 250.1 kB / 429 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01468/0.4112, allocations: 11.91 MB / 440.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.4113, allocations: 39 kB / 441 MB, free: 4.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.357e-06/0.4113, allocations: 0 / 441 MB, free: 4.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.00588/0.4172, allocations: 2.126 MB / 443.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.4172, allocations: 55.97 kB / 443.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.4177, allocations: 326.8 kB / 443.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.4178, allocations: 37.7 kB / 443.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.4179, allocations: 196.4 kB / 443.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.4181, allocations: 192.5 kB / 443.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.4183, allocations: 118.1 kB / 444 MB, free: 1.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4184, allocations: 346.8 kB / 444.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.4188, allocations: 237 kB / 444.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.4194, allocations: 339.4 kB / 444.9 MB, free: 412 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.4206, allocations: 0.6038 MB / 445.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4206, allocations: 0 / 445.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001844/0.4225, allocations: 0.754 MB / 446.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4225, allocations: 4 kB / 446.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4225, allocations: 7.938 kB / 446.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000479/0.423, allocations: 101.5 kB / 446.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.4235, allocations: 125.6 kB / 446.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.426, allocations: 3.47 MB / 449.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.4263, allocations: 16 kB / 450 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/0.4264, allocations: 31.98 kB / 450 MB, free: 10.99 MB / 366.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.0002395/0.4266, allocations: 197.8 kB / 450.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.427, allocations: 43.62 kB / 450.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.4285, allocations: 0.8171 MB / 451 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4286, allocations: 4 kB / 451.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.4286, allocations: 2.625 kB / 451.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001131/0.4297, allocations: 0.757 MB / 451.8 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.4318, allocations: 1.31 MB / 453.1 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4318, allocations: 0 / 453.1 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.4323, allocations: 99.97 kB / 453.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009482/0.4332, allocations: 151.2 kB / 453.4 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.4333, allocations: 23.92 kB / 453.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003819/0.4337, allocations: 0.6368 MB / 454 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4337, allocations: 7.312 kB / 454 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.4354, allocations: 0.9055 MB / 454.9 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.4355, allocations: 112.7 kB / 455 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.4356, allocations: 15.98 kB / 455.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.436, allocations: 19.98 kB / 455.1 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.4361, allocations: 35.2 kB / 455.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/0.4361, allocations: 27.98 kB / 455.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.4364, allocations: 261.9 kB / 455.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4364, allocations: 0 / 455.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00343/0.4398, allocations: 1.308 MB / 456.7 MB, free: 4.07 MB / 366.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.005703/0.4456, allocations: 1.697 MB / 458.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.4472, allocations: 0.8072 MB / 459.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.4473, allocations: 8.5 kB / 459.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005837/0.4479, allocations: 288.4 kB / 459.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.4493, allocations: 271.4 kB / 459.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.4511, allocations: 1.107 MB / 460.9 MB, free: 12 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.4515, allocations: 0.8326 MB / 461.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004761/0.452, allocations: 140.4 kB / 461.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.4521, allocations: 59.41 kB / 461.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4522, allocations: 4 kB / 461.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of Templates: time 0.05964/0.5118, allocations: 46.3 MB / 0.4963 GB, free: 0.6602 MB / 414.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/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