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.001046/0.001046, allocations: 103 kB / 17.32 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 64.03 kB / 306.4 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.09187, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1866/0.2785, allocations: 50.57 MB / 407.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005738/0.2843, allocations: 5.174 MB / 412.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.2845, allocations: 3.844 kB / 412.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.2852, allocations: 228.9 kB / 412.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00057/0.2858, allocations: 334.2 kB / 413.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.3028, allocations: 6.455 MB / 419.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.3042, allocations: 1.095 MB / 420.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.3045, allocations: 157.8 kB / 421 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006196/0.3107, allocations: 3.745 MB / 424.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.3112, allocations: 422.6 kB / 425.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-05/0.3113, allocations: 64 kB / 425.2 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01616/0.3274, allocations: 9.908 MB / 435.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.3278, allocations: 219.5 kB / 435.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.3283, allocations: 310.8 kB / 435.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.3394, allocations: 5.629 MB / 441.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3395, allocations: 4 kB / 441.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3395, allocations: 0 / 441.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.3395, allocations: 0 / 441.2 MB, free: 7.664 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.003069/0.3426, allocations: 1.361 MB / 442.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3426, allocations: 12.03 kB / 442.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/0.343, allocations: 63.44 kB / 442.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.3434, allocations: 361.9 kB / 443 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.3435, allocations: 33 kB / 443.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.3436, allocations: 47.98 kB / 443.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.3449, allocations: 0.5804 MB / 443.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.3449, allocations: 4 kB / 443.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.345, allocations: 19.98 kB / 443.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.345, allocations: 8 kB / 443.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.3463, allocations: 0.7572 MB / 444.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01624/0.3626, allocations: 11.96 MB / 456.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.3639, allocations: 0.5307 MB / 457 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.3643, allocations: 250.8 kB / 457.2 MB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01474/0.379, allocations: 11.9 MB / 469.1 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3791, allocations: 39 kB / 469.2 MB, free: 7.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.984e-06/0.3791, allocations: 0 / 469.2 MB, free: 7.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005909/0.385, allocations: 2.123 MB / 471.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3851, allocations: 59.91 kB / 471.3 MB, free: 4.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.3855, allocations: 326.9 kB / 471.7 MB, free: 4.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.3855, allocations: 37.7 kB / 471.7 MB, free: 4.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3857, allocations: 200.3 kB / 471.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.3858, allocations: 193.3 kB / 472.1 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.386, allocations: 110.1 kB / 472.2 MB, free: 4.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3861, allocations: 346.8 kB / 472.5 MB, free: 3.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.3865, allocations: 245 kB / 472.8 MB, free: 3.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.3872, allocations: 339.4 kB / 473.1 MB, free: 3.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.3884, allocations: 0.5956 MB / 473.7 MB, free: 2.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3884, allocations: 7.938 kB / 473.7 MB, free: 2.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001908/0.3903, allocations: 0.7479 MB / 474.4 MB, free: 1.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.3903, allocations: 8 kB / 474.5 MB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3903, allocations: 4 kB / 474.5 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/0.3909, allocations: 114.7 kB / 474.6 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.3914, allocations: 123.8 kB / 474.7 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.3941, allocations: 3.472 MB / 478.2 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.3945, allocations: 32.17 kB / 478.2 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.3946, allocations: 31.98 kB / 478.2 MB, free: 13.66 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.000272/0.3949, allocations: 197.6 kB / 478.4 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/0.3952, allocations: 51.52 kB / 478.5 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.3968, allocations: 0.815 MB / 479.3 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.3968, allocations: 8 kB / 479.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3968, allocations: 0 / 479.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00117/0.398, allocations: 0.7635 MB / 480.1 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.4, allocations: 1.301 MB / 481.4 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4001, allocations: 4.062 kB / 481.4 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.4005, allocations: 95.89 kB / 481.5 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000932/0.4015, allocations: 152.5 kB / 481.6 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.4015, allocations: 27.92 kB / 481.6 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003833/0.4019, allocations: 0.6406 MB / 482.3 MB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4019, allocations: 0 / 482.3 MB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.4036, allocations: 0.9083 MB / 483.2 MB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4037, allocations: 116.7 kB / 483.3 MB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.4038, allocations: 15.98 kB / 483.3 MB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.4043, allocations: 31.98 kB / 483.3 MB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.4043, allocations: 32.42 kB / 483.4 MB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/0.4044, allocations: 35.95 kB / 483.4 MB, free: 8.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.4047, allocations: 253.9 kB / 483.7 MB, free: 7.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4047, allocations: 0 / 483.7 MB, free: 7.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003309/0.408, allocations: 1.323 MB / 485 MB, free: 6.648 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.005576/0.4136, allocations: 1.7 MB / 486.7 MB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.4153, allocations: 0.8547 MB / 487.5 MB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4153, allocations: 0 / 487.5 MB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.4159, allocations: 291.2 kB / 487.8 MB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.4173, allocations: 284 kB / 488.1 MB, free: 3.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.4192, allocations: 1.259 MB / 489.4 MB, free: 2.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.4196, allocations: 0.8326 MB / 490.2 MB, free: 1.352 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000545/0.4202, allocations: 144.2 kB / 490.3 MB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.4204, allocations: 63.42 kB / 490.4 MB, free: 1.148 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4204, allocations: 0 / 490.4 MB, free: 1.148 MB / 398.1 MB Notification: Performance of Templates: time 0.06035/0.4807, allocations: 45.09 MB / 0.5229 GB, free: 4.082 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 -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/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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches