Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.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.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 95.77 kB / 16.98 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.001405/0.001405, allocations: 204.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.32/1.32, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 8 kB / 306.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 51.49 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.252/0.3678, allocations: 79.39 MB / 437.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03661/0.4045, allocations: 29.54 MB / 467 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004403/0.4089, allocations: 67.44 kB / 467.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004195/0.4132, allocations: 1.151 MB / 468.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.4241, allocations: 3.587 MB / 471.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01965/0.4438, allocations: 7.212 MB / 479 MB, free: 2.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006377/0.4502, allocations: 3.598 MB / 482.6 MB, free: 15.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002596/0.4528, allocations: 1.67 MB / 484.3 MB, free: 13.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01381/0.4666, allocations: 7.562 MB / 491.8 MB, free: 6.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/0.4701, allocations: 1.468 MB / 493.3 MB, free: 4.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.4707, allocations: 140 kB / 493.4 MB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01931/0.49, allocations: 8.749 MB / 0.4904 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.4914, allocations: 0.67 MB / 0.4911 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009873/0.4924, allocations: 476.6 kB / 0.4915 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.503, allocations: 5.885 MB / 0.4973 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.5031, allocations: 0 / 0.4973 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5031, allocations: 0 / 0.4973 GB, free: 4.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.416e-05/0.5031, allocations: 4 kB / 0.4973 GB, free: 4.637 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.00777/0.5109, allocations: 2.985 MB / 0.5002 GB, free: 1.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5109, allocations: 8.031 kB / 0.5002 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.5213, allocations: 1.266 MB / 0.5014 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.524, allocations: 1.298 MB / 0.5027 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.5243, allocations: 353.7 kB / 0.503 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.5246, allocations: 191.9 kB / 0.5032 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007798/0.5324, allocations: 3.466 MB / 0.5066 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.272e-05/0.5325, allocations: 7.938 kB / 0.5066 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/0.5328, allocations: 83.98 kB / 0.5067 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/0.5329, allocations: 107.2 kB / 0.5068 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008339/0.5413, allocations: 3.51 MB / 0.5102 GB, free: 7.094 MB / 430.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.02075/0.562, allocations: 14.47 MB / 0.5244 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006794/0.5688, allocations: 2.909 MB / 0.5272 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2242/0.793, allocations: 27.07 MB / 0.5536 GB, free: 133.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/0.7931, allocations: 57.22 kB / 0.5537 GB, free: 133.3 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002419/0.7955, allocations: 446 kB / 0.5541 GB, free: 133.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 4.959e-06/0.7956, allocations: 0 / 0.5541 GB, free: 133.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03435/0.8299, allocations: 12.46 MB / 0.5663 GB, free: 128.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.83, allocations: 150.6 kB / 0.5664 GB, free: 128.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.8315, allocations: 1.4 MB / 0.5678 GB, free: 127.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002156/0.8317, allocations: 61.02 kB / 0.5678 GB, free: 127.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.8321, allocations: 0.7821 MB / 0.5686 GB, free: 126.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/0.8326, allocations: 0.6709 MB / 0.5693 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.8327, allocations: 46.66 kB / 0.5693 GB, free: 126.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.8328, allocations: 391.3 kB / 0.5697 GB, free: 126 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.835, allocations: 1.296 MB / 0.5709 GB, free: 125.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/0.8373, allocations: 1.722 MB / 0.5726 GB, free: 123.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.8395, allocations: 1.404 MB / 0.574 GB, free: 122.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.8395, allocations: 4 kB / 0.574 GB, free: 122.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.006569/0.8461, allocations: 4.028 MB / 0.5779 GB, free: 118 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.8461, allocations: 19.98 kB / 0.578 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.8461, allocations: 12 kB / 0.578 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004059/0.8502, allocations: 1.576 MB / 0.5795 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.8521, allocations: 479 kB / 0.58 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004568/0.8567, allocations: 6.692 MB / 0.5865 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.8591, allocations: 219.2 kB / 0.5867 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.8593, allocations: 119.9 kB / 0.5868 GB, free: 108.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 204 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009645/0.8603, allocations: 0.5118 MB / 0.5873 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.8606, allocations: 201.6 kB / 0.5875 GB, free: 108 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/0.8713, allocations: 9.976 MB / 0.5973 GB, free: 97.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.006e-05/0.8714, allocations: 107.7 kB / 0.5974 GB, free: 97.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.8714, allocations: 0 / 0.5974 GB, free: 97.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/0.8715, allocations: 11.95 kB / 0.5974 GB, free: 97.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.8859, allocations: 13.35 MB / 0.6104 GB, free: 84.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.886, allocations: 0 / 0.6104 GB, free: 84.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.8876, allocations: 415.4 kB / 0.6108 GB, free: 83.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00541/0.893, allocations: 4.096 MB / 0.6148 GB, free: 79.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003561/0.8934, allocations: 63.97 kB / 0.6149 GB, free: 79.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005959/0.8994, allocations: 8.763 MB / 0.6234 GB, free: 70.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8994, allocations: 0 / 0.6234 GB, free: 70.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/0.9117, allocations: 10.77 MB / 0.6339 GB, free: 59.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/0.9134, allocations: 0.9085 MB / 0.6348 GB, free: 58.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/0.9138, allocations: 52 kB / 0.6349 GB, free: 58.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.9156, allocations: 234.3 kB / 0.6351 GB, free: 58.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/0.9161, allocations: 233.6 kB / 0.6353 GB, free: 58.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/0.9162, allocations: 87.94 kB / 0.6354 GB, free: 58.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00137/0.9176, allocations: 1.258 MB / 0.6366 GB, free: 57.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9176, allocations: 0 / 0.6366 GB, free: 57.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004596/0.9222, allocations: 1.807 MB / 0.6384 GB, free: 55.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.level,openTankCold2.medium.h,openTankCold1.level,openTankCold1.medium.h,openTankHot1.level,openTankHot1.medium.h,openTankHot2.level,openTankHot2.medium.h,openTankCold3.level,openTankCold3.medium.h,openTankHot3.level,openTankHot3.medium.h) * Number of discrete variables: 71 ($cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse31.region3boundary,$cse32.region3boundary,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.region3boundary,$cse52.region3boundary,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004688/0.9269, allocations: 1.742 MB / 0.6401 GB, free: 53.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007657/0.9346, allocations: 4.272 MB / 0.6443 GB, free: 49.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.9346, allocations: 8.625 kB / 0.6443 GB, free: 49.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004909/0.9395, allocations: 3.15 MB / 0.6474 GB, free: 46.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004876/0.9444, allocations: 1.051 MB / 0.6484 GB, free: 45.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.9554, allocations: 9.515 MB / 0.6577 GB, free: 35.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.9566, allocations: 2.228 MB / 0.6599 GB, free: 33.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003321/0.96, allocations: 1.736 MB / 0.6616 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/0.9605, allocations: 179.4 kB / 0.6617 GB, free: 31.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.385e-06/0.9605, allocations: 0 / 0.6617 GB, free: 31.73 MB / 446.1 MB Notification: Performance of Templates: time 0.2645/1.225, allocations: 90.29 MB / 0.7499 GB, free: 105.7 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/Explanatory/MeasuringTemperature/MeasuringTemperature.csv","../files/Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches