Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001135, allocations: 58.62 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09148/0.09264, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2007/0.2934, allocations: 50.66 MB / 409.5 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005896/0.2993, allocations: 5.192 MB / 414.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.2996, allocations: 8.938 kB / 414.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.3003, allocations: 244.7 kB / 415 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000591/0.3009, allocations: 370.8 kB / 415.3 MB, free: 372 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01953/0.3205, allocations: 7.119 MB / 422.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.3223, allocations: 1.087 MB / 423.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.3226, allocations: 162.7 kB / 423.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006736/0.3294, allocations: 3.59 MB / 427.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005217/0.3299, allocations: 402.6 kB / 427.7 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.301e-05/0.33, allocations: 60 kB / 427.8 MB, free: 6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01794/0.3479, allocations: 9.952 MB / 437.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.3483, allocations: 223.5 kB / 437.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004361/0.3487, allocations: 310.9 kB / 438.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.3601, allocations: 5.513 MB / 443.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3601, allocations: 0 / 443.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3601, allocations: 0 / 443.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3601, allocations: 0 / 443.7 MB, free: 5.988 MB / 350.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.002865/0.363, allocations: 1.369 MB / 445.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.363, allocations: 12.03 kB / 445.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.3634, allocations: 60.31 kB / 445.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.3639, allocations: 374.8 kB / 445.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.364, allocations: 33 kB / 445.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.989e-05/0.364, allocations: 44 kB / 445.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.3652, allocations: 0.5843 MB / 446.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.3653, allocations: 0 / 446.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.3653, allocations: 20 kB / 446.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3653, allocations: 8 kB / 446.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.3666, allocations: 0.7495 MB / 447 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01586/0.3825, allocations: 11.97 MB / 459 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.3838, allocations: 0.5197 MB / 459.5 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.3842, allocations: 253.2 kB / 459.7 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/0.3988, allocations: 11.9 MB / 471.6 MB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.3989, allocations: 43 kB / 471.7 MB, free: 5.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.304e-06/0.3989, allocations: 4 kB / 471.7 MB, free: 5.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005679/0.4046, allocations: 2.112 MB / 473.8 MB, free: 3.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.4046, allocations: 55.97 kB / 473.8 MB, free: 3.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.405, allocations: 322.8 kB / 474.1 MB, free: 2.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.405, allocations: 37.7 kB / 474.2 MB, free: 2.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4052, allocations: 204.3 kB / 474.4 MB, free: 2.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.4053, allocations: 189.3 kB / 474.6 MB, free: 2.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.4055, allocations: 114.1 kB / 474.7 MB, free: 2.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4056, allocations: 354.7 kB / 475 MB, free: 2.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.406, allocations: 237 kB / 475.3 MB, free: 1.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/0.4066, allocations: 335.4 kB / 475.6 MB, free: 1.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.4078, allocations: 0.6112 MB / 476.2 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4078, allocations: 0 / 476.2 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001772/0.4096, allocations: 0.7478 MB / 476.9 MB, free: 64 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4096, allocations: 8 kB / 477 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4096, allocations: 4.266 kB / 477 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/0.4101, allocations: 118.5 kB / 477.1 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.4107, allocations: 119.8 kB / 477.2 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.4132, allocations: 3.48 MB / 480.7 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.4136, allocations: 12.19 kB / 480.7 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.4136, allocations: 35.98 kB / 480.7 MB, free: 11.98 MB / 398.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.0002528/0.4139, allocations: 197.6 kB / 480.9 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.4142, allocations: 47.52 kB / 481 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.4157, allocations: 0.8112 MB / 481.8 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4158, allocations: 8 kB / 481.8 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.4158, allocations: 0 / 481.8 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/0.4169, allocations: 0.7596 MB / 482.5 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.4189, allocations: 1.301 MB / 483.8 MB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4189, allocations: 0 / 483.8 MB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.4193, allocations: 95.89 kB / 483.9 MB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009255/0.4203, allocations: 148.7 kB / 484.1 MB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.4203, allocations: 23.92 kB / 484.1 MB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003799/0.4207, allocations: 0.6485 MB / 484.7 MB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4207, allocations: 3.938 kB / 484.7 MB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.4224, allocations: 0.9093 MB / 485.7 MB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.4225, allocations: 116.8 kB / 485.8 MB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/0.4226, allocations: 15.98 kB / 485.8 MB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.4229, allocations: 15.98 kB / 485.8 MB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.423, allocations: 36.33 kB / 485.8 MB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.4231, allocations: 31.98 kB / 485.9 MB, free: 6.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002696/0.4234, allocations: 257.9 kB / 486.1 MB, free: 6.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4234, allocations: 0 / 486.1 MB, free: 6.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003481/0.4269, allocations: 1.32 MB / 487.4 MB, free: 5.004 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.004833/0.4317, allocations: 1.685 MB / 489.1 MB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.4332, allocations: 0.8076 MB / 489.9 MB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.4332, allocations: 7.938 kB / 489.9 MB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.4337, allocations: 287.8 kB / 490.2 MB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.435, allocations: 287 kB / 490.5 MB, free: 1.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.4368, allocations: 1.092 MB / 491.6 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.4372, allocations: 0.8326 MB / 492.4 MB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004406/0.4377, allocations: 152.2 kB / 492.6 MB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.4378, allocations: 55.42 kB / 492.6 MB, free: 15.71 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4378, allocations: 0 / 492.6 MB, free: 15.71 MB / 414.1 MB Notification: Performance of Templates: time 0.05815/0.496, allocations: 45.08 MB / 0.5251 GB, free: 2.656 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches