Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_trunk_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|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002002/0.002003, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 226.7 MB / 245.5 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 113.8 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3896/0.3896, allocations: 44.84 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3584, allocations: 62.03 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.05892/0.4174, allocations: 77 MB / 0.5903 GB, free: 12.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0396/0.457, allocations: 34.76 MB / 0.6243 GB, free: 9.543 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.4601, allocations: 55.56 kB / 0.6243 GB, free: 9.488 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.4632, allocations: 0.9287 MB / 0.6253 GB, free: 8.555 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.4762, allocations: 4.313 MB / 0.6295 GB, free: 4.242 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01671/0.493, allocations: 5.59 MB / 0.6349 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.008978/0.502, allocations: 7.295 MB / 0.642 GB, free: 7.355 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.5042, allocations: 1.156 MB / 0.6432 GB, free: 6.176 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.5155, allocations: 5.059 MB / 0.6481 GB, free: 1.059 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/0.5189, allocations: 1.646 MB / 0.6497 GB, free: 15.41 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000625/0.5196, allocations: 108 kB / 0.6498 GB, free: 15.3 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/0.5344, allocations: 7.095 MB / 0.6568 GB, free: 8.199 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.5356, allocations: 0.6426 MB / 0.6574 GB, free: 7.555 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.5372, allocations: 1.011 MB / 0.6584 GB, free: 6.539 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.5509, allocations: 6.614 MB / 0.6648 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.551, allocations: 0 / 0.6648 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.551, allocations: 0 / 0.6648 GB, free: 15.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.111e-05/0.551, allocations: 0 / 0.6648 GB, free: 15.91 MB / 490.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.006463/0.5575, allocations: 2.806 MB / 0.6676 GB, free: 13.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.5575, allocations: 8.031 kB / 0.6676 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00582/0.5634, allocations: 0.8105 MB / 0.6684 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.5655, allocations: 1.061 MB / 0.6694 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003212/0.5658, allocations: 453 kB / 0.6698 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.5661, allocations: 176.1 kB / 0.67 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006345/0.5724, allocations: 3.131 MB / 0.6731 GB, free: 7.059 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.795e-05/0.5725, allocations: 11.88 kB / 0.6731 GB, free: 7.047 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.5727, allocations: 83.98 kB / 0.6732 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-05/0.5728, allocations: 90.64 kB / 0.6732 GB, free: 6.875 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006412/0.5792, allocations: 2.691 MB / 0.6759 GB, free: 4.176 MB / 490.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.2393/0.8185, allocations: 15.74 MB / 0.6912 GB, free: 125.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.8223, allocations: 1.38 MB / 0.6926 GB, free: 125 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.8234, allocations: 0.5435 MB / 0.6931 GB, free: 124.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009575/0.8244, allocations: 0.6954 MB / 0.6938 GB, free: 124.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.8244, allocations: 53.56 kB / 0.6938 GB, free: 124.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=101): time 3.707e-06/0.8244, allocations: 1.312 kB / 0.6938 GB, free: 124.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=117): time 0.01482/0.8392, allocations: 5.216 MB / 0.6989 GB, free: 122.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.8393, allocations: 168.8 kB / 0.6991 GB, free: 122.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.8408, allocations: 1.463 MB / 0.7005 GB, free: 121.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.262e-05/0.8409, allocations: 47.55 kB / 0.7006 GB, free: 121.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.8413, allocations: 0.9378 MB / 0.7015 GB, free: 120.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.8415, allocations: 423.5 kB / 0.7019 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/0.842, allocations: 451.6 kB / 0.7023 GB, free: 120.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.842, allocations: 304.1 kB / 0.7026 GB, free: 120 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.8434, allocations: 0.6834 MB / 0.7033 GB, free: 119.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.8453, allocations: 1.916 MB / 0.7052 GB, free: 118 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003408/0.8487, allocations: 2.782 MB / 0.7079 GB, free: 115.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/0.8487, allocations: 10.47 kB / 0.7079 GB, free: 115.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005396/0.8541, allocations: 2.825 MB / 0.7106 GB, free: 114.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.8542, allocations: 22.94 kB / 0.7107 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.775e-05/0.8543, allocations: 42.78 kB / 0.7107 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.8556, allocations: 437 kB / 0.7111 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.8573, allocations: 0.5278 MB / 0.7116 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.8591, allocations: 2.746 MB / 0.7143 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.8611, allocations: 212.6 kB / 0.7145 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.8613, allocations: 136.3 kB / 0.7146 GB, free: 112 MB / 490.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,volume2_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume1_1.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 (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,7), (1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008056/0.8622, allocations: 0.5459 MB / 0.7152 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.8625, allocations: 169.6 kB / 0.7153 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007473/0.8699, allocations: 4.968 MB / 0.7202 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.852e-05/0.87, allocations: 48.39 kB / 0.7202 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.87, allocations: 0 / 0.7202 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.8701, allocations: 6.562 kB / 0.7202 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.8801, allocations: 7.115 MB / 0.7272 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.8801, allocations: 7.469 kB / 0.7272 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.8812, allocations: 252.6 kB / 0.7274 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.8824, allocations: 451.6 kB / 0.7279 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.907e-05/0.8825, allocations: 31.64 kB / 0.7279 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.884, allocations: 2.781 MB / 0.7306 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.8841, allocations: 3.969 kB / 0.7306 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1619/1.046, allocations: 73.82 MB / 0.8027 GB, free: 33.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006997/1.047, allocations: 413.8 kB / 0.8031 GB, free: 32.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/1.047, allocations: 75.3 kB / 0.8032 GB, free: 32.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009988/1.048, allocations: 127.6 kB / 0.8033 GB, free: 32.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/1.048, allocations: 108.7 kB / 0.8034 GB, free: 32.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.463e-05/1.048, allocations: 47.98 kB / 0.8034 GB, free: 32.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001296/1.05, allocations: 1.232 MB / 0.8047 GB, free: 31.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/1.05, allocations: 0 / 0.8047 GB, free: 31.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009947/1.06, allocations: 3.855 MB / 0.8084 GB, free: 27.38 MB / 490.7 MB 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 (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(2,5), (2,5), (2,5), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01759/1.077, allocations: 2.535 MB / 0.8109 GB, free: 25.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004244/1.081, allocations: 2.233 MB / 0.8131 GB, free: 22.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/1.081, allocations: 448 / 0.8131 GB, free: 22.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/1.084, allocations: 1.35 MB / 0.8144 GB, free: 21.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00492/1.089, allocations: 0.8945 MB / 0.8153 GB, free: 20.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008877/1.097, allocations: 7.83 MB / 0.8229 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.098, allocations: 1.756 MB / 0.8246 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002357/1.101, allocations: 1.009 MB / 0.8256 GB, free: 9.895 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/1.101, allocations: 159.4 kB / 0.8258 GB, free: 9.738 MB / 490.7 MB Notification: Performance of SimCode: time 8.71e-07/1.101, allocations: 0 / 0.8258 GB, free: 9.738 MB / 490.7 MB Notification: Performance of Templates: time 0.4529/1.554, allocations: 175.6 MB / 0.9972 GB, free: 73.12 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches