Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 106.8 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 191.1 kB / 19.39 MB, free: 3.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1979/0.1979, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3533, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07091/0.4243, allocations: 75.18 MB / 0.593 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03659/0.4609, allocations: 33.5 MB / 0.6257 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.4639, allocations: 43.69 kB / 0.6258 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003786/0.4678, allocations: 1.044 MB / 0.6268 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01509/0.4829, allocations: 5.124 MB / 0.6318 GB, free: 8.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01673/0.4996, allocations: 6.344 MB / 0.638 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00727/0.5069, allocations: 5.185 MB / 0.643 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.5091, allocations: 1.34 MB / 0.6443 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01148/0.5206, allocations: 5.328 MB / 0.6496 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/0.5239, allocations: 1.58 MB / 0.6511 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005724/0.5245, allocations: 200 kB / 0.6513 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01557/0.5401, allocations: 7.223 MB / 0.6583 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001546/0.5417, allocations: 0.7169 MB / 0.659 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002163/0.5439, allocations: 1.101 MB / 0.6601 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01883/0.5627, allocations: 6.704 MB / 0.6667 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.5628, allocations: 4 kB / 0.6667 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.959e-06/0.5628, allocations: 0 / 0.6667 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001914/0.563, allocations: 3.938 kB / 0.6667 GB, free: 4.965 MB / 0.5137 GB 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.009958/0.573, allocations: 2.877 MB / 0.6695 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.5731, allocations: 12.02 kB / 0.6695 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006704/0.5798, allocations: 0.8193 MB / 0.6703 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.5824, allocations: 1.116 MB / 0.6714 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005076/0.5829, allocations: 465 kB / 0.6718 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005065/0.5834, allocations: 168.1 kB / 0.672 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00802/0.5915, allocations: 3.134 MB / 0.675 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.849e-05/0.5916, allocations: 15.88 kB / 0.6751 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003506/0.5919, allocations: 80 kB / 0.6751 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.592, allocations: 82.72 kB / 0.6752 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006941/0.599, allocations: 2.695 MB / 0.6778 GB, free: 9.086 MB / 0.5294 GB 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.018/0.617, allocations: 15.74 MB / 0.6932 GB, free: 8.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/0.6212, allocations: 1.372 MB / 0.6946 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.6225, allocations: 0.5416 MB / 0.6951 GB, free: 6.332 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.6236, allocations: 0.7024 MB / 0.6958 GB, free: 5.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.6237, allocations: 47.56 kB / 0.6958 GB, free: 5.465 MB / 0.545 GB Notification: Performance of pre-optimization done (n=101): time 4.759e-06/0.6237, allocations: 7.984 kB / 0.6958 GB, free: 5.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=117): time 0.01634/0.6401, allocations: 5.24 MB / 0.7009 GB, free: 140 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/0.6402, allocations: 175.2 kB / 0.7011 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.6422, allocations: 1.461 MB / 0.7025 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.6423, allocations: 49.7 kB / 0.7026 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006955/0.643, allocations: 0.9668 MB / 0.7035 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.6434, allocations: 432.4 kB / 0.7039 GB, free: 13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005872/0.644, allocations: 464.2 kB / 0.7044 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.6441, allocations: 305.1 kB / 0.7047 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.6456, allocations: 0.6837 MB / 0.7053 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.648, allocations: 1.922 MB / 0.7072 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005137/0.6531, allocations: 2.782 MB / 0.7099 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.386e-05/0.6532, allocations: 15.94 kB / 0.71 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005884/0.6591, allocations: 2.817 MB / 0.7127 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.6592, allocations: 28.03 kB / 0.7127 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-05/0.6592, allocations: 40 kB / 0.7128 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.6607, allocations: 439.1 kB / 0.7132 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.6624, allocations: 0.5225 MB / 0.7137 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2977/0.9602, allocations: 2.74 MB / 0.7164 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.9624, allocations: 140 kB / 0.7165 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/0.9627, allocations: 139.8 kB / 0.7166 GB, free: 175.4 MB / 0.5606 GB 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.0009842/0.9637, allocations: 0.5393 MB / 0.7172 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/0.9641, allocations: 182.2 kB / 0.7173 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007103/0.9712, allocations: 4.962 MB / 0.7222 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.9712, allocations: 11.12 kB / 0.7222 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.9712, allocations: 0.6094 kB / 0.7222 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008573/0.9721, allocations: 407.5 kB / 0.7226 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/0.9724, allocations: 77.08 kB / 0.7227 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.9735, allocations: 135.1 kB / 0.7228 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.9737, allocations: 98 kB / 0.7229 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005072/0.9788, allocations: 2.777 MB / 0.7256 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005427/0.9843, allocations: 3.752 MB / 0.7293 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001665/0.986, allocations: 1.136 MB / 0.7304 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001822/0.9878, allocations: 1.228 MB / 0.7316 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of Backend: time 3.31e-07/0.9878, allocations: 3.938 kB / 0.7316 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009192/0.997, allocations: 3.049 MB / 0.7345 GB, free: 169 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006786/1.004, allocations: 4.957 MB / 0.7394 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.07777/1.082, allocations: 70.89 MB / 0.8086 GB, free: 99.62 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches