Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009621/0.0009619, allocations: 100.8 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001533, allocations: 202.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002138/0.0002141, allocations: 4 kB / 306.6 MB, free: 1.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1002, allocations: 51.5 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.003963/0.1042, allocations: 4 MB / 362.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.106, allocations: 1.278 MB / 363.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.1063, allocations: 11.94 kB / 363.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.1065, allocations: 99.27 kB / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005317/0.107, allocations: 355 kB / 363.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1073, allocations: 163.7 kB / 364 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008176/0.1082, allocations: 0.7923 MB / 364.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.1085, allocations: 263 kB / 365 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.1089, allocations: 378.7 kB / 365.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.1093, allocations: 434.2 kB / 365.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.99e-05/0.1094, allocations: 60 kB / 365.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.1095, allocations: 60 kB / 365.9 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1097, allocations: 171.4 kB / 366.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.1099, allocations: 201.2 kB / 366.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006892/0.1106, allocations: 0.8413 MB / 367.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1106, allocations: 0 / 367.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1106, allocations: 0 / 367.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1106, allocations: 0 / 367.1 MB, free: 4.824 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002073/0.1127, allocations: 1.2 MB / 368.3 MB, free: 3.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1127, allocations: 16.03 kB / 368.3 MB, free: 3.543 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.1129, allocations: 102.9 kB / 368.4 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008067/0.1137, allocations: 0.5162 MB / 369 MB, free: 2.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/0.114, allocations: 182.3 kB / 369.1 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/0.1141, allocations: 59.91 kB / 369.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.1155, allocations: 0.8665 MB / 370.1 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1156, allocations: 3.984 kB / 370.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/0.1156, allocations: 32 kB / 370.1 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.1157, allocations: 12 kB / 370.1 MB, free: 1.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.1171, allocations: 0.6609 MB / 370.8 MB, free: 0.9531 MB / 302.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.165/0.2822, allocations: 2.017 MB / 372.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.2837, allocations: 0.8867 MB / 373.7 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-05/0.2837, allocations: 15.59 kB / 373.7 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.2838, allocations: 51.09 kB / 373.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.555e-06/0.2838, allocations: 0 / 373.7 MB, free: 18.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005404/0.2892, allocations: 1.985 MB / 375.7 MB, free: 18.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.2894, allocations: 0.8269 MB / 376.5 MB, free: 17.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.29, allocations: 0.5822 MB / 377.1 MB, free: 16.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.838e-05/0.2901, allocations: 45.95 kB / 377.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.2903, allocations: 334.4 kB / 377.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.2904, allocations: 250.8 kB / 377.7 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.2905, allocations: 16.12 kB / 377.8 MB, free: 16.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.2906, allocations: 383.5 kB / 378.1 MB, free: 16.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/0.2913, allocations: 309.2 kB / 378.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008579/0.2922, allocations: 0.57 MB / 379 MB, free: 15.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007425/0.2929, allocations: 429.8 kB / 379.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2929, allocations: 5.25 kB / 379.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002649/0.2956, allocations: 1.194 MB / 380.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.2957, allocations: 85.36 kB / 380.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2957, allocations: 5.891 kB / 380.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006719/0.2963, allocations: 249.8 kB / 381 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.297, allocations: 157 kB / 381.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006644/0.3037, allocations: 6.577 MB / 387.7 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3047, allocations: 123.6 kB / 387.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/0.3048, allocations: 30.3 kB / 387.8 MB, free: 8.699 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003739/0.3052, allocations: 218.8 kB / 388.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.3053, allocations: 88.52 kB / 388.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.3055, allocations: 91.98 kB / 388.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.3055, allocations: 10.3 kB / 388.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.3055, allocations: 1.656 kB / 388.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002508/0.308, allocations: 1.34 MB / 389.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.312, allocations: 1.977 MB / 391.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.312, allocations: 1.312 kB / 391.6 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.3128, allocations: 151.9 kB / 391.7 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005824/0.3134, allocations: 218.9 kB / 391.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-05/0.3135, allocations: 16.48 kB / 391.9 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006012/0.3195, allocations: 5.116 MB / 397.1 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3195, allocations: 7.312 kB / 397.1 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003729/0.3233, allocations: 1.523 MB / 398.6 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/0.3237, allocations: 228.9 kB / 398.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.3239, allocations: 22.86 kB / 398.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000666/0.3245, allocations: 64.83 kB / 398.9 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.3248, allocations: 69.25 kB / 399 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.3248, allocations: 21.73 kB / 399 MB, free: 1.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004827/0.3253, allocations: 411.9 kB / 399.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3253, allocations: 0 / 399.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009905/0.3263, allocations: 278.4 kB / 399.7 MB, free: 0.9531 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.3265, allocations: 121.9 kB / 399.8 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.3287, allocations: 1.411 MB / 401.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.3287, allocations: 2.625 kB / 401.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.3301, allocations: 0.8147 MB / 402 MB, free: 15.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/0.331, allocations: 203.2 kB / 402.2 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.3337, allocations: 1.914 MB / 404.1 MB, free: 13.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.3341, allocations: 0.9606 MB / 405.1 MB, free: 13 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003898/0.3345, allocations: 88.77 kB / 405.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3347, allocations: 58.67 kB / 405.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3347, allocations: 0 / 405.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Templates: time 0.02358/0.3583, allocations: 15.61 MB / 420.8 MB, free: 14.18 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches