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/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) 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 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(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/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 46.11 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 71.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.349, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.06862/0.4176, allocations: 75.45 MB / 0.6053 GB, free: 6.062 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03611/0.4538, allocations: 33.49 MB / 0.638 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.4566, allocations: 47.69 kB / 0.6381 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002618/0.4593, allocations: 1.045 MB / 0.6391 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.013/0.4723, allocations: 5.106 MB / 0.6441 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01531/0.4876, allocations: 6.338 MB / 0.6503 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006469/0.4941, allocations: 5.185 MB / 0.6554 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002/0.4961, allocations: 1.328 MB / 0.6566 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009521/0.5056, allocations: 5.329 MB / 0.6619 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.5085, allocations: 1.58 MB / 0.6634 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004262/0.5089, allocations: 200 kB / 0.6636 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01386/0.5228, allocations: 7.227 MB / 0.6706 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006533/0.5235, allocations: 0.7247 MB / 0.6714 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.5247, allocations: 1.089 MB / 0.6724 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.5405, allocations: 6.699 MB / 0.679 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5406, allocations: 4 kB / 0.679 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5406, allocations: 0 / 0.679 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001072/0.5407, allocations: 0 / 0.679 GB, free: 10.43 MB / 0.5294 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.007892/0.5486, allocations: 2.81 MB / 0.6817 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5487, allocations: 9.469 kB / 0.6817 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006569/0.5552, allocations: 0.8143 MB / 0.6825 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.5575, allocations: 1.108 MB / 0.6836 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004187/0.5579, allocations: 461 kB / 0.684 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005579/0.5585, allocations: 176 kB / 0.6842 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007567/0.5661, allocations: 3.131 MB / 0.6873 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.92e-05/0.5661, allocations: 15.78 kB / 0.6873 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/0.5664, allocations: 84 kB / 0.6874 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-05/0.5665, allocations: 82.72 kB / 0.6874 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006655/0.5732, allocations: 2.699 MB / 0.6901 GB, free: 14.62 MB / 0.545 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.0166/0.5898, allocations: 15.72 MB / 0.7054 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004257/0.5941, allocations: 1.379 MB / 0.7068 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.5953, allocations: 0.5386 MB / 0.7073 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.5965, allocations: 0.6986 MB / 0.708 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.5965, allocations: 47.56 kB / 0.708 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=101): time 3.476e-06/0.5965, allocations: 0 / 0.708 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117): time 0.01636/0.6129, allocations: 5.214 MB / 0.7131 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.613, allocations: 179.2 kB / 0.7133 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.6152, allocations: 1.453 MB / 0.7147 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.6153, allocations: 53.64 kB / 0.7148 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007008/0.616, allocations: 0.936 MB / 0.7157 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/0.6164, allocations: 418.2 kB / 0.7161 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006093/0.617, allocations: 459.9 kB / 0.7165 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.6171, allocations: 305.1 kB / 0.7168 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.6186, allocations: 0.6798 MB / 0.7175 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.274/0.8927, allocations: 1.921 MB / 0.7193 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004619/0.8973, allocations: 2.779 MB / 0.722 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/0.8974, allocations: 14.5 kB / 0.7221 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005165/0.9026, allocations: 2.811 MB / 0.7248 GB, free: 168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/0.9026, allocations: 26.59 kB / 0.7248 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.898e-05/0.9027, allocations: 42.53 kB / 0.7249 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.904, allocations: 441.2 kB / 0.7253 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.9056, allocations: 0.5233 MB / 0.7258 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.9072, allocations: 2.739 MB / 0.7285 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.9088, allocations: 136.6 kB / 0.7286 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.909, allocations: 148.8 kB / 0.7288 GB, free: 165.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.0007831/0.9098, allocations: 0.539 MB / 0.7293 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.9101, allocations: 174.3 kB / 0.7294 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006152/0.9163, allocations: 4.957 MB / 0.7343 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.9163, allocations: 7.172 kB / 0.7343 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.9163, allocations: 0 / 0.7343 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007832/0.9171, allocations: 400 kB / 0.7347 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.9174, allocations: 74.75 kB / 0.7347 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.9186, allocations: 130.6 kB / 0.7349 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.9188, allocations: 100 kB / 0.735 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004482/0.9233, allocations: 2.773 MB / 0.7377 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004551/0.9279, allocations: 3.731 MB / 0.7413 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001435/0.9294, allocations: 1.134 MB / 0.7424 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001324/0.9307, allocations: 1.234 MB / 0.7436 GB, free: 158 MB / 0.5606 GB Notification: Performance of Backend: time 3.5e-07/0.9307, allocations: 0 / 0.7436 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008652/0.9394, allocations: 3.043 MB / 0.7466 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006935/0.9463, allocations: 4.89 MB / 0.7514 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0791/1.025, allocations: 71.78 MB / 0.8215 GB, free: 79.91 MB / 0.5606 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/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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches