Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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",fileNamePrefix="ModelicaTest_3.2.3_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_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.001684/0.001684, allocations: 110.2 kB / 17.09 MB, free: 5.953 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.00187/0.00187, allocations: 200.2 kB / 18.03 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2103/0.2103, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 73.45 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1219, allocations: 57.78 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.336/0.458, allocations: 75.19 MB / 0.562 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03829/0.4963, allocations: 33.48 MB / 0.5947 GB, free: 9.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.4983, allocations: 42.53 kB / 0.5947 GB, free: 9.852 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.5011, allocations: 1.042 MB / 0.5957 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0144/0.5156, allocations: 5.124 MB / 0.6007 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02018/0.5358, allocations: 6.333 MB / 0.6069 GB, free: 468 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008071/0.5439, allocations: 5.182 MB / 0.612 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.5469, allocations: 1.33 MB / 0.6133 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01364/0.5606, allocations: 5.321 MB / 0.6185 GB, free: 5.445 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/0.5638, allocations: 1.584 MB / 0.62 GB, free: 3.855 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007746/0.5646, allocations: 196 kB / 0.6202 GB, free: 3.664 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01717/0.5818, allocations: 7.219 MB / 0.6273 GB, free: 12.44 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.5832, allocations: 0.7247 MB / 0.628 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002886/0.5861, allocations: 1.093 MB / 0.629 GB, free: 10.61 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01601/0.6022, allocations: 6.701 MB / 0.6356 GB, free: 3.895 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6022, allocations: 0 / 0.6356 GB, free: 3.895 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6022, allocations: 0 / 0.6356 GB, free: 3.895 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001002/0.6023, allocations: 0 / 0.6356 GB, free: 3.895 MB / 478.1 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.008094/0.6104, allocations: 2.87 MB / 0.6384 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.6105, allocations: 8.031 kB / 0.6384 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006727/0.6172, allocations: 0.827 MB / 0.6392 GB, free: 128 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.6194, allocations: 1.12 MB / 0.6403 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004344/0.6199, allocations: 457.8 kB / 0.6407 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.6203, allocations: 172.4 kB / 0.6409 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007146/0.6274, allocations: 3.131 MB / 0.6439 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.615e-05/0.6275, allocations: 7.938 kB / 0.644 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.6277, allocations: 79.98 kB / 0.644 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.6279, allocations: 94.58 kB / 0.6441 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006818/0.6347, allocations: 2.695 MB / 0.6468 GB, free: 8.012 MB / 494.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.01781/0.6525, allocations: 15.75 MB / 0.6621 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004301/0.6568, allocations: 1.379 MB / 0.6635 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.6581, allocations: 0.5355 MB / 0.664 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.6593, allocations: 0.6947 MB / 0.6647 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.6593, allocations: 55.5 kB / 0.6647 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=101): time 3.387e-06/0.6593, allocations: 0 / 0.6647 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117): time 0.01691/0.6762, allocations: 5.268 MB / 0.6699 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.6764, allocations: 171.2 kB / 0.67 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.6786, allocations: 1.457 MB / 0.6715 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.6787, allocations: 49.7 kB / 0.6715 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007002/0.6794, allocations: 0.9668 MB / 0.6725 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.6798, allocations: 440.4 kB / 0.6729 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005821/0.6804, allocations: 460.2 kB / 0.6733 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6805, allocations: 309.1 kB / 0.6736 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.682, allocations: 0.6797 MB / 0.6743 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.6843, allocations: 1.926 MB / 0.6762 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/0.6885, allocations: 2.775 MB / 0.6789 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/0.6885, allocations: 12 kB / 0.6789 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005356/0.6939, allocations: 2.821 MB / 0.6816 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.6939, allocations: 24 kB / 0.6817 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.855e-05/0.694, allocations: 44 kB / 0.6817 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.6953, allocations: 443.2 kB / 0.6821 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.697, allocations: 0.5264 MB / 0.6826 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.6993, allocations: 2.744 MB / 0.6853 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.701, allocations: 140 kB / 0.6854 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.7012, allocations: 144 kB / 0.6856 GB, free: 13.53 MB / 0.5294 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.0008595/0.7021, allocations: 0.5434 MB / 0.6861 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003876/0.7025, allocations: 178.9 kB / 0.6863 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007108/0.7096, allocations: 4.959 MB / 0.6911 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.7096, allocations: 11.92 kB / 0.6911 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.7096, allocations: 0 / 0.6911 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006924/0.7103, allocations: 415 kB / 0.6915 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/0.7107, allocations: 71.52 kB / 0.6916 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.7119, allocations: 139.8 kB / 0.6917 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.7121, allocations: 97.19 kB / 0.6918 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005656/0.7178, allocations: 2.78 MB / 0.6945 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005904/0.7237, allocations: 3.748 MB / 0.6982 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001696/0.7254, allocations: 1.132 MB / 0.6993 GB, free: 15.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001851/0.7273, allocations: 1.232 MB / 0.7005 GB, free: 14 MB / 0.545 GB Notification: Performance of Backend: time 7.72e-07/0.7273, allocations: 0 / 0.7005 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01011/0.7374, allocations: 3.037 MB / 0.7035 GB, free: 10.98 MB / 0.545 GB Notification: Performance of SimCode: time 0.007618/0.745, allocations: 4.952 MB / 0.7083 GB, free: 5.961 MB / 0.545 GB Notification: Performance of Templates: time 0.3448/1.09, allocations: 70.87 MB / 0.7775 GB, free: 210.2 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches