Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 121.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 63.89 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2674, allocations: 50.55 MB / 409.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.02744/0.2949, allocations: 28.85 MB / 438.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01935/0.3143, allocations: 15.03 MB / 453.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.3161, allocations: 47.69 kB / 453.2 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.3177, allocations: 0.5901 MB / 453.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005992/0.3238, allocations: 2.333 MB / 456.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.3339, allocations: 3.727 MB / 459.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005703/0.3396, allocations: 4.147 MB / 464 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.3418, allocations: 1.171 MB / 465.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.345, allocations: 1.581 MB / 466.7 MB, free: 7.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.3481, allocations: 1.67 MB / 468.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006949/0.3488, allocations: 164 kB / 468.5 MB, free: 6.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005645/0.3545, allocations: 2.437 MB / 471 MB, free: 3.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009483/0.3555, allocations: 0.6116 MB / 471.6 MB, free: 3.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.3568, allocations: 0.875 MB / 472.5 MB, free: 2.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006206/0.363, allocations: 3.736 MB / 476.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.363, allocations: 4 kB / 476.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.363, allocations: 0 / 476.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.3631, allocations: 3.984 kB / 476.2 MB, free: 14.43 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.00502/0.3681, allocations: 2.2 MB / 478.4 MB, free: 12.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3681, allocations: 8.031 kB / 478.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005417/0.3687, allocations: 174.1 kB / 478.6 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.3703, allocations: 1.069 MB / 479.7 MB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.3705, allocations: 175 kB / 479.8 MB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.3707, allocations: 99.91 kB / 479.9 MB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.3733, allocations: 1.761 MB / 481.7 MB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.3734, allocations: 7.938 kB / 481.7 MB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.3735, allocations: 39.97 kB / 481.7 MB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.3737, allocations: 109.9 kB / 481.8 MB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/0.3765, allocations: 1.784 MB / 483.6 MB, free: 6.828 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.3873, allocations: 6.696 MB / 490.3 MB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.3891, allocations: 1.238 MB / 491.6 MB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.3902, allocations: 0.7671 MB / 492.3 MB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005497/0.3957, allocations: 4.275 MB / 496.6 MB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3957, allocations: 47.5 kB / 496.6 MB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006126/0.3964, allocations: 178.7 kB / 496.8 MB, free: 8.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.624e-06/0.3964, allocations: 3.938 kB / 496.8 MB, free: 8.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.0174/0.4138, allocations: 5.683 MB / 0.4907 GB, free: 3.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.4139, allocations: 141.5 kB / 0.4909 GB, free: 2.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.4155, allocations: 1.253 MB / 0.4921 GB, free: 1.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.4156, allocations: 53.7 kB / 0.4921 GB, free: 1.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/0.4161, allocations: 0.6052 MB / 0.4927 GB, free: 1.016 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.4164, allocations: 394.3 kB / 0.4931 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00048/0.4169, allocations: 287.4 kB / 0.4934 GB, free: 344 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.417, allocations: 305.1 kB / 0.4937 GB, free: 36 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.4182, allocations: 0.7191 MB / 0.4944 GB, free: 15.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.4196, allocations: 1.072 MB / 0.4954 GB, free: 14.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/0.4221, allocations: 1.739 MB / 0.4971 GB, free: 12.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.4221, allocations: 0 / 0.4971 GB, free: 12.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003792/0.4259, allocations: 2.288 MB / 0.4994 GB, free: 9.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.4259, allocations: 11.94 kB / 0.4994 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.4259, allocations: 8 kB / 0.4994 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006765/0.4327, allocations: 1.289 MB / 0.5006 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.4339, allocations: 295.5 kB / 0.5009 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.4363, allocations: 1.595 MB / 0.5025 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.4375, allocations: 63.97 kB / 0.5025 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.4377, allocations: 67.97 kB / 0.5026 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001605/0.4393, allocations: 0.984 MB / 0.5036 GB, free: 5.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001405/0.4407, allocations: 1.059 MB / 0.5046 GB, free: 4.371 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002369/0.4431, allocations: 1.734 MB / 0.5063 GB, free: 2.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.089e-06/0.4431, allocations: 0 / 0.5063 GB, free: 2.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.003592/0.4467, allocations: 2.191 MB / 0.5084 GB, free: 300 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4467, allocations: 15.98 kB / 0.5084 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4468, allocations: 8 kB / 0.5084 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006041/0.4528, allocations: 1.097 MB / 0.5095 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.4541, allocations: 311.4 kB / 0.5098 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.456, allocations: 1.465 MB / 0.5112 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.4572, allocations: 59.97 kB / 0.5113 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.4574, allocations: 79.89 kB / 0.5114 GB, free: 13.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank3.inFlow[1],tank3.regularFlow[1],tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(8,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0004391/0.4578, allocations: 263.9 kB / 0.5116 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/0.4582, allocations: 150.2 kB / 0.5118 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/0.4624, allocations: 2.09 MB / 0.5138 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.4624, allocations: 15.94 kB / 0.5138 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4624, allocations: 7.938 kB / 0.5138 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.4624, allocations: 7.969 kB / 0.5138 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005678/0.4681, allocations: 3.581 MB / 0.5173 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4681, allocations: 0 / 0.5173 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009555/0.4691, allocations: 191.8 kB / 0.5175 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/0.4715, allocations: 0.8557 MB / 0.5184 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.4716, allocations: 31.98 kB / 0.5184 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.4738, allocations: 1.611 MB / 0.52 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.4738, allocations: 3.938 kB / 0.52 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004469/0.4783, allocations: 2.904 MB / 0.5228 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/0.479, allocations: 403 kB / 0.5232 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.4793, allocations: 24.12 kB / 0.5232 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009843/0.4803, allocations: 55.95 kB / 0.5233 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.4805, allocations: 105.1 kB / 0.5234 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.4806, allocations: 43.97 kB / 0.5234 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.4819, allocations: 0.8441 MB / 0.5242 GB, free: 15.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4819, allocations: 4 kB / 0.5242 GB, free: 15.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002981/0.4849, allocations: 1.171 MB / 0.5254 GB, free: 14.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(9,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002158/0.487, allocations: 0.8418 MB / 0.5262 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006244/0.4933, allocations: 2.866 MB / 0.529 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4933, allocations: 0 / 0.529 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.495, allocations: 0.8752 MB / 0.5299 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.4976, allocations: 0.6471 MB / 0.5305 GB, free: 9.527 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.5038, allocations: 3.076 MB / 0.5335 GB, free: 6.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.505, allocations: 1.292 MB / 0.5348 GB, free: 5.109 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00193/0.5069, allocations: 0.59 MB / 0.5353 GB, free: 4.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.5073, allocations: 127.3 kB / 0.5354 GB, free: 4.387 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5073, allocations: 0 / 0.5354 GB, free: 4.387 MB / 462.1 MB Notification: Performance of Templates: time 0.2859/0.7932, allocations: 44.18 MB / 0.5786 GB, free: 99.83 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/Tanks/ThreeTanks/ThreeTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.ThreeTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches