Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001094/0.001094, allocations: 114.3 kB / 16.63 MB, free: 6.812 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.001082/0.001082, allocations: 189.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009959/0.0009959, allocations: 51.67 kB / 300.1 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08429/0.0853, allocations: 49.44 MB / 349.6 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2038/0.2891, allocations: 50.44 MB / 400 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005921/0.2951, allocations: 5.172 MB / 405.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.2953, allocations: 7.25 kB / 405.2 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.296, allocations: 213.1 kB / 405.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006286/0.2967, allocations: 354.6 kB / 405.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01659/0.3133, allocations: 6.434 MB / 412.2 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.3146, allocations: 1.092 MB / 413.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.3149, allocations: 141.3 kB / 413.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006096/0.321, allocations: 3.765 MB / 417.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.3215, allocations: 418.6 kB / 417.6 MB, free: 436 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.3216, allocations: 64 kB / 417.6 MB, free: 372 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01618/0.3377, allocations: 9.888 MB / 427.5 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.338, allocations: 219.5 kB / 427.7 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003965/0.3384, allocations: 310.9 kB / 428 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009342/0.3478, allocations: 5.61 MB / 433.7 MB, free: 324 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3478, allocations: 8 kB / 433.7 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3478, allocations: 0 / 433.7 MB, free: 316 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.3479, allocations: 0 / 433.7 MB, free: 316 kB / 334.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.002909/0.3508, allocations: 1.358 MB / 435 MB, free: 14.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3508, allocations: 11.89 kB / 435 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/0.3512, allocations: 63.52 kB / 435.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.3516, allocations: 369.8 kB / 435.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.3516, allocations: 29 kB / 435.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.3517, allocations: 44 kB / 435.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.353, allocations: 0.5882 MB / 436.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3531, allocations: 0 / 436.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/0.3531, allocations: 16 kB / 436.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3531, allocations: 12 kB / 436.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.3545, allocations: 0.7504 MB / 436.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0239/0.3784, allocations: 11.95 MB / 448.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.3805, allocations: 0.5236 MB / 449.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006883/0.3813, allocations: 254 kB / 449.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02693/0.4082, allocations: 11.9 MB / 461.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/0.4083, allocations: 39 kB / 461.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 3.557e-06/0.4083, allocations: 0 / 461.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.01044/0.4188, allocations: 2.116 MB / 463.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.4188, allocations: 55.97 kB / 463.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.4195, allocations: 330.8 kB / 464 MB, free: 13.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.843e-05/0.4196, allocations: 37.7 kB / 464.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.4199, allocations: 200.4 kB / 464.3 MB, free: 13.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.4201, allocations: 185.2 kB / 464.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/0.4205, allocations: 122.1 kB / 464.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.4207, allocations: 346.8 kB / 464.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/0.4214, allocations: 240.9 kB / 465.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.4227, allocations: 347.4 kB / 465.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.4251, allocations: 0.5956 MB / 466.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4251, allocations: 1.375 kB / 466.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003525/0.4286, allocations: 0.7595 MB / 466.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.4287, allocations: 4 kB / 466.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4287, allocations: 4 kB / 466.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009021/0.4296, allocations: 110.7 kB / 467 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.4307, allocations: 123.9 kB / 467.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/0.4349, allocations: 3.476 MB / 470.6 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007349/0.4357, allocations: 36.16 kB / 470.6 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.4359, allocations: 35.98 kB / 470.6 MB, free: 6.32 MB / 382.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.0005101/0.4364, allocations: 197.6 kB / 470.8 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006183/0.437, allocations: 47.47 kB / 470.9 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/0.44, allocations: 0.8152 MB / 471.7 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.44, allocations: 4 kB / 471.7 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.44, allocations: 0 / 471.7 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002091/0.4421, allocations: 0.7635 MB / 472.5 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/0.446, allocations: 1.302 MB / 473.8 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.446, allocations: 4.062 kB / 473.8 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008984/0.447, allocations: 99.83 kB / 473.9 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.4488, allocations: 152.6 kB / 474 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-05/0.4489, allocations: 19.92 kB / 474 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006473/0.4495, allocations: 0.6445 MB / 474.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4496, allocations: 0 / 474.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/0.4528, allocations: 0.9043 MB / 475.6 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.453, allocations: 116.7 kB / 475.7 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.4532, allocations: 12 kB / 475.7 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/0.454, allocations: 35.97 kB / 475.7 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4541, allocations: 32.39 kB / 475.8 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.4543, allocations: 31.97 kB / 475.8 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005054/0.4548, allocations: 249.9 kB / 476 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4548, allocations: 4 kB / 476 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00555/0.4604, allocations: 1.316 MB / 477.4 MB, free: 15.34 MB / 398.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.01007/0.4705, allocations: 1.703 MB / 479.1 MB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.4735, allocations: 0.8431 MB / 479.9 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.4735, allocations: 4 kB / 479.9 MB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.4746, allocations: 291.2 kB / 480.2 MB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.4774, allocations: 284 kB / 480.5 MB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.4808, allocations: 1.258 MB / 481.7 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.4815, allocations: 0.8365 MB / 482.6 MB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001059/0.4826, allocations: 144.2 kB / 482.7 MB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.4828, allocations: 59.42 kB / 482.8 MB, free: 9.844 MB / 398.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4829, allocations: 0 / 482.8 MB, free: 9.844 MB / 398.1 MB Notification: Performance of Templates: time 0.1055/0.5884, allocations: 44.9 MB / 0.5153 GB, free: 13 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches