Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.9 MB, free: 9.082 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.61 kB / 306.9 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09789, allocations: 50.54 MB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2375/0.3354, allocations: 67.29 MB / 424.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006754/0.3422, allocations: 5.538 MB / 430.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.3427, allocations: 7.938 kB / 430.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009806/0.3438, allocations: 314.5 kB / 430.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009513/0.3447, allocations: 0.4935 MB / 431.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01906/0.3638, allocations: 6.268 MB / 437.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002472/0.3663, allocations: 2.304 MB / 439.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.3667, allocations: 170 kB / 439.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.368, allocations: 0.5294 MB / 440.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.3691, allocations: 0.5878 MB / 440.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.3693, allocations: 47.94 kB / 441 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02048/0.3898, allocations: 10.39 MB / 451.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000631/0.3905, allocations: 283.2 kB / 451.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009352/0.3914, allocations: 386.4 kB / 452 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009425/0.4009, allocations: 4.133 MB / 456.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.4009, allocations: 4 kB / 456.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4009, allocations: 4 kB / 456.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.172e-05/0.401, allocations: 0 / 456.2 MB, free: 9.105 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004641/0.4056, allocations: 1.568 MB / 457.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4057, allocations: 12.03 kB / 457.7 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005368/0.4062, allocations: 79.23 kB / 457.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.4069, allocations: 440.8 kB / 458.2 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.407, allocations: 49.31 kB / 458.3 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.4071, allocations: 63.91 kB / 458.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.409, allocations: 0.8068 MB / 459.2 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.4091, allocations: 3.984 kB / 459.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-05/0.4091, allocations: 32 kB / 459.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.4092, allocations: 12 kB / 459.2 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.4111, allocations: 1.028 MB / 460.2 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/0.4293, allocations: 12.78 MB / 473 MB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.4313, allocations: 0.7307 MB / 473.8 MB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006307/0.432, allocations: 410.6 kB / 474.2 MB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01553/0.4475, allocations: 12.25 MB / 486.4 MB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.593e-05/0.4476, allocations: 51.22 kB / 486.5 MB, free: 6.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 3.146e-06/0.4476, allocations: 0 / 486.5 MB, free: 6.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.01074/0.4584, allocations: 3.366 MB / 489.8 MB, free: 2.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.4585, allocations: 68.34 kB / 489.9 MB, free: 2.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.459, allocations: 364.4 kB / 490.2 MB, free: 2.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.4591, allocations: 41.7 kB / 490.3 MB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.4593, allocations: 236.7 kB / 490.5 MB, free: 1.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.4596, allocations: 307.6 kB / 490.8 MB, free: 1.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.4599, allocations: 162.5 kB / 491 MB, free: 1.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4601, allocations: 358.8 kB / 491.3 MB, free: 1.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006397/0.4607, allocations: 373.8 kB / 491.7 MB, free: 0.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009383/0.4617, allocations: 492.2 kB / 492.2 MB, free: 288 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.4635, allocations: 0.9098 MB / 493.1 MB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4635, allocations: 0 / 493.1 MB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002809/0.4664, allocations: 1.117 MB / 494.2 MB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.4664, allocations: 7.938 kB / 494.2 MB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4664, allocations: 4 kB / 494.2 MB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008597/0.4673, allocations: 163.6 kB / 494.4 MB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/0.4681, allocations: 195.6 kB / 494.6 MB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.4712, allocations: 3.904 MB / 498.5 MB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006254/0.4719, allocations: 60.09 kB / 498.5 MB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.472, allocations: 47.98 kB / 498.6 MB, free: 9.504 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0004173/0.4725, allocations: 232.8 kB / 498.8 MB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004625/0.4729, allocations: 63.34 kB / 498.9 MB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/0.4755, allocations: 1.285 MB / 0.4884 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.4755, allocations: 8 kB / 0.4884 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4755, allocations: 0 / 0.4884 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0019/0.4774, allocations: 1.324 MB / 0.4897 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.481, allocations: 1.963 MB / 0.4916 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/0.481, allocations: 4 kB / 0.4916 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/0.4818, allocations: 167.8 kB / 0.4918 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001917/0.4837, allocations: 297.2 kB / 0.4921 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.81e-05/0.4838, allocations: 27.98 kB / 0.4921 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008662/0.4847, allocations: 1.293 MB / 0.4934 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4847, allocations: 3.984 kB / 0.4934 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.4875, allocations: 1.405 MB / 0.4947 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.4878, allocations: 128.7 kB / 0.4949 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.4879, allocations: 23.98 kB / 0.4949 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007037/0.4886, allocations: 55.75 kB / 0.4949 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4888, allocations: 60.92 kB / 0.495 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.4889, allocations: 43.97 kB / 0.495 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003473/0.4893, allocations: 283 kB / 0.4953 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4893, allocations: 0 / 0.4953 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004605/0.4939, allocations: 1.413 MB / 0.4967 GB, free: 15.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007107/0.501, allocations: 1.736 MB / 0.4984 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002696/0.5038, allocations: 1.144 MB / 0.4995 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.5038, allocations: 4 kB / 0.4995 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.5049, allocations: 495.8 kB / 0.5 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.5071, allocations: 383.8 kB / 0.5004 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.5106, allocations: 1.959 MB / 0.5023 GB, free: 9.348 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.5112, allocations: 0.9128 MB / 0.5032 GB, free: 8.406 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.5116, allocations: 99.34 kB / 0.5032 GB, free: 8.309 MB / 430.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5116, allocations: 0 / 0.5032 GB, free: 8.309 MB / 430.1 MB Notification: Performance of Templates: time 0.2245/0.7361, allocations: 41.03 MB / 0.5433 GB, free: 137.1 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches