Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002235/0.002241, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.326/2.326, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.001169, allocations: 102.8 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5099/0.5099, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004703, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1278, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.398/0.5259, allocations: 63.41 MB / 0.5407 GB, free: 6.133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05142/0.5773, allocations: 28.47 MB / 0.5685 GB, free: 2.145 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.5802, allocations: 54.16 kB / 0.5685 GB, free: 2.113 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004649/0.5849, allocations: 0.9033 MB / 0.5694 GB, free: 1.598 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01901/0.6039, allocations: 4.005 MB / 0.5733 GB, free: 15.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02426/0.6282, allocations: 5.304 MB / 0.5785 GB, free: 11.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007782/0.636, allocations: 2.995 MB / 0.5814 GB, free: 9.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.639, allocations: 1.077 MB / 0.5825 GB, free: 8.902 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02326/0.6623, allocations: 7.198 MB / 0.5895 GB, free: 4.934 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003346/0.6658, allocations: 1.043 MB / 0.5905 GB, free: 3.887 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009007/0.6667, allocations: 100 kB / 0.5906 GB, free: 3.789 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0238/0.6906, allocations: 6.992 MB / 0.5974 GB, free: 12.79 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.6923, allocations: 0.5805 MB / 0.598 GB, free: 12.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.6936, allocations: 416.8 kB / 0.5984 GB, free: 11.79 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01854/0.7122, allocations: 4.576 MB / 0.6029 GB, free: 7.207 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7123, allocations: 0 / 0.6029 GB, free: 7.207 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.7123, allocations: 0 / 0.6029 GB, free: 7.207 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001193/0.7124, allocations: 4 kB / 0.6029 GB, free: 7.203 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01433/0.7268, allocations: 2.465 MB / 0.6053 GB, free: 4.684 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.7269, allocations: 12.03 kB / 0.6053 GB, free: 4.672 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01576/0.7426, allocations: 0.8408 MB / 0.6061 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/0.7475, allocations: 1.025 MB / 0.6071 GB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009591/0.7485, allocations: 467.4 kB / 0.6076 GB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009829/0.7495, allocations: 171.9 kB / 0.6077 GB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01829/0.7679, allocations: 3.174 MB / 0.6108 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/0.7681, allocations: 15.88 kB / 0.6108 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007087/0.7688, allocations: 87.94 kB / 0.6109 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/0.769, allocations: 82.72 kB / 0.611 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/0.7878, allocations: 2.793 MB / 0.6137 GB, free: 11.66 MB / 442.7 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.04108/0.8289, allocations: 15.8 MB / 0.6292 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.8401, allocations: 1.479 MB / 0.6306 GB, free: 9.277 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002651/0.8428, allocations: 0.7103 MB / 0.6313 GB, free: 8.457 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.964e-05/0.8429, allocations: 51.5 kB / 0.6313 GB, free: 8.398 MB / 458.7 MB Notification: Performance of pre-optimization done (n=101): time 5.22e-06/0.8429, allocations: 0 / 0.6313 GB, free: 8.398 MB / 458.7 MB Notification: Performance of matching and sorting (n=117): time 0.03365/0.8766, allocations: 5.496 MB / 0.6367 GB, free: 2.828 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.8768, allocations: 167.2 kB / 0.6369 GB, free: 2.629 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/0.8797, allocations: 1.445 MB / 0.6383 GB, free: 1.172 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003081/0.8801, allocations: 49.7 kB / 0.6383 GB, free: 1.117 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009539/0.881, allocations: 0.9307 MB / 0.6392 GB, free: 180 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006264/0.8817, allocations: 422.2 kB / 0.6396 GB, free: 15.76 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.8818, allocations: 48 kB / 0.6397 GB, free: 15.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002528/0.8821, allocations: 403.4 kB / 0.6401 GB, free: 15.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003138/0.8853, allocations: 0.711 MB / 0.6408 GB, free: 14.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004411/0.8897, allocations: 1.946 MB / 0.6427 GB, free: 12.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/0.8937, allocations: 1.033 MB / 0.6437 GB, free: 11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.55e-05/0.8937, allocations: 12 kB / 0.6437 GB, free: 10.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01037/0.9041, allocations: 2.817 MB / 0.6464 GB, free: 8.156 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.9042, allocations: 24 kB / 0.6465 GB, free: 8.133 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-05/0.9043, allocations: 40 kB / 0.6465 GB, free: 8.094 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/0.9066, allocations: 439.3 kB / 0.6469 GB, free: 7.652 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0036/0.9102, allocations: 0.5576 MB / 0.6475 GB, free: 7.094 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.9137, allocations: 2.74 MB / 0.6501 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/0.9171, allocations: 235.7 kB / 0.6504 GB, free: 4.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004056/0.9175, allocations: 136 kB / 0.6505 GB, free: 3.887 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * 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: 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 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001394/0.919, allocations: 0.5357 MB / 0.651 GB, free: 3.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/0.9195, allocations: 177.9 kB / 0.6512 GB, free: 3.164 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.9317, allocations: 5.082 MB / 0.6561 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.189e-05/0.9318, allocations: 47.94 kB / 0.6562 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9319, allocations: 8.812 kB / 0.6562 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/0.9319, allocations: 8.016 kB / 0.6562 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/0.9495, allocations: 7.22 MB / 0.6633 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/0.9496, allocations: 4 kB / 0.6633 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002225/0.9518, allocations: 300 kB / 0.6636 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/0.9541, allocations: 435 kB / 0.664 GB, free: 5.844 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002047/0.9544, allocations: 36.19 kB / 0.664 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003423/0.9578, allocations: 2.787 MB / 0.6667 GB, free: 2.918 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.9579, allocations: 4 kB / 0.6667 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/0.9696, allocations: 4.353 MB / 0.671 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.9712, allocations: 0.5556 MB / 0.6715 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004847/0.9717, allocations: 24 kB / 0.6715 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/0.9742, allocations: 151.6 kB / 0.6717 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/0.9746, allocations: 120.7 kB / 0.6718 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/0.9748, allocations: 47.98 kB / 0.6718 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002754/0.9776, allocations: 1.217 MB / 0.673 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.31e-07/0.9776, allocations: 0 / 0.673 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006231/0.9839, allocations: 1.406 MB / 0.6744 GB, free: 10.81 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008041/0.992, allocations: 1.379 MB / 0.6758 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007984/1, allocations: 2.297 MB / 0.678 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1, allocations: 4.562 kB / 0.678 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004641/1.005, allocations: 1.379 MB / 0.6793 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007862/1.013, allocations: 0.8553 MB / 0.6802 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3305/1.343, allocations: 5.67 MB / 0.6857 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001901/1.345, allocations: 1.687 MB / 0.6874 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007848/1.346, allocations: 156 kB / 0.6875 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.342e-06/1.346, allocations: 0 / 0.6875 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.1412/1.487, allocations: 81.06 MB / 0.7667 GB, free: 110 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches