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.001085/0.001085, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 59.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2273, allocations: 50.54 MB / 409.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06408/0.2914, allocations: 65.71 MB / 475 MB, free: 15.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007008/0.2985, allocations: 5.464 MB / 480.4 MB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006829/0.2992, allocations: 4 kB / 480.4 MB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.3004, allocations: 365.9 kB / 480.8 MB, free: 9.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.3015, allocations: 0.5089 MB / 481.3 MB, free: 9.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01791/0.3194, allocations: 7.456 MB / 488.8 MB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.3214, allocations: 1.555 MB / 490.3 MB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.3217, allocations: 216.8 kB / 490.5 MB, free: 92 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.3229, allocations: 0.6309 MB / 491.2 MB, free: 15.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009355/0.3238, allocations: 0.5606 MB / 491.7 MB, free: 14.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.324, allocations: 84 kB / 491.8 MB, free: 14.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01773/0.3418, allocations: 10.24 MB / 0.4903 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.3423, allocations: 327.2 kB / 0.4906 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007143/0.343, allocations: 434.5 kB / 0.491 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.355, allocations: 5.961 MB / 0.4968 GB, free: 13.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.355, allocations: 0 / 0.4968 GB, free: 13.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.355, allocations: 0 / 0.4968 GB, free: 13.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.073e-05/0.355, allocations: 0 / 0.4968 GB, free: 13.84 MB / 430.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.003692/0.3587, allocations: 1.563 MB / 0.4983 GB, free: 12.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3588, allocations: 12.03 kB / 0.4984 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.3593, allocations: 83.23 kB / 0.4984 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.3599, allocations: 448.8 kB / 0.4989 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.36, allocations: 49.31 kB / 0.4989 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3601, allocations: 60 kB / 0.499 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.3618, allocations: 0.8107 MB / 0.4998 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.3618, allocations: 3.906 kB / 0.4998 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.3619, allocations: 28 kB / 0.4998 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.3619, allocations: 16 kB / 0.4998 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.3637, allocations: 1.024 MB / 0.5008 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.3799, allocations: 12.79 MB / 0.5133 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.3816, allocations: 0.7373 MB / 0.514 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.3822, allocations: 408.9 kB / 0.5144 GB, free: 9.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/0.396, allocations: 12.25 MB / 0.5264 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.3961, allocations: 43.22 kB / 0.5264 GB, free: 10.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.795e-06/0.3961, allocations: 0 / 0.5264 GB, free: 10.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.009321/0.4054, allocations: 3.376 MB / 0.5297 GB, free: 7.438 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.4055, allocations: 64.41 kB / 0.5298 GB, free: 7.363 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.4059, allocations: 348.5 kB / 0.5301 GB, free: 7.012 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.4059, allocations: 45.64 kB / 0.5301 GB, free: 6.961 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.4061, allocations: 244.6 kB / 0.5304 GB, free: 6.719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.4063, allocations: 303.6 kB / 0.5307 GB, free: 6.418 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.4065, allocations: 166.5 kB / 0.5308 GB, free: 6.246 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4067, allocations: 362.8 kB / 0.5312 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/0.4073, allocations: 369.8 kB / 0.5315 GB, free: 5.523 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008981/0.4082, allocations: 0.4884 MB / 0.532 GB, free: 5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.4099, allocations: 0.906 MB / 0.5329 GB, free: 4.059 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4099, allocations: 0 / 0.5329 GB, free: 4.059 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002513/0.4124, allocations: 1.125 MB / 0.534 GB, free: 2.918 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.4125, allocations: 8 kB / 0.534 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.4125, allocations: 4 kB / 0.534 GB, free: 2.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008121/0.4133, allocations: 167.2 kB / 0.5342 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/0.4141, allocations: 191.9 kB / 0.5343 GB, free: 2.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1936/0.6077, allocations: 4.101 MB / 0.5383 GB, free: 130.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.6082, allocations: 21.45 kB / 0.5384 GB, free: 130.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.6084, allocations: 44.08 kB / 0.5384 GB, free: 130.2 MB / 462.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.0003545/0.6087, allocations: 228.5 kB / 0.5386 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000427/0.6092, allocations: 61.2 kB / 0.5387 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.6117, allocations: 1.282 MB / 0.5399 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6118, allocations: 7.25 kB / 0.5399 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.6118, allocations: 5.562 kB / 0.5399 GB, free: 129.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001586/0.6134, allocations: 1.318 MB / 0.5412 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.6161, allocations: 1.966 MB / 0.5432 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6161, allocations: 5.016 kB / 0.5432 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/0.6168, allocations: 166.3 kB / 0.5433 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.6184, allocations: 289.4 kB / 0.5436 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.6185, allocations: 35.62 kB / 0.5436 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004489/0.6189, allocations: 1.287 MB / 0.5449 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.619, allocations: 0 / 0.5449 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.621, allocations: 1.416 MB / 0.5463 GB, free: 126 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.6211, allocations: 129.6 kB / 0.5464 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.324e-05/0.6212, allocations: 23.61 kB / 0.5464 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.6217, allocations: 27.61 kB / 0.5464 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.6218, allocations: 57.08 kB / 0.5465 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.796e-05/0.6219, allocations: 42.92 kB / 0.5465 GB, free: 125.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.6221, allocations: 279 kB / 0.5468 GB, free: 125.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6221, allocations: 4.469 kB / 0.5468 GB, free: 125.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003119/0.6253, allocations: 1.41 MB / 0.5482 GB, free: 125.5 MB / 462.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.004368/0.6296, allocations: 1.738 MB / 0.5499 GB, free: 125.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.6314, allocations: 1.166 MB / 0.551 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6314, allocations: 0 / 0.551 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007399/0.6322, allocations: 495.9 kB / 0.5515 GB, free: 124.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.6337, allocations: 389.3 kB / 0.5519 GB, free: 124.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.6358, allocations: 1.653 MB / 0.5535 GB, free: 123.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.6361, allocations: 0.9047 MB / 0.5544 GB, free: 122.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.6367, allocations: 214.3 kB / 0.5546 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.6369, allocations: 71.42 kB / 0.5546 GB, free: 122.1 MB / 462.1 MB Notification: Performance of SimCode: time 4.5e-07/0.6369, allocations: 3.938 kB / 0.5546 GB, free: 122.1 MB / 462.1 MB Notification: Performance of Templates: time 0.06213/0.699, allocations: 50.17 MB / 0.6036 GB, free: 71.98 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches