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.00125/0.00125, allocations: 114 kB / 18.46 MB, free: 4.594 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.001345/0.001346, allocations: 185.9 kB / 19.38 MB, free: 3.676 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.355/1.355, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2063/0.2063, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3308, allocations: 60.82 MB / 0.5196 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07645/0.4073, allocations: 75.19 MB / 0.593 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03957/0.4469, allocations: 33.49 MB / 0.6257 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/0.4493, allocations: 43.75 kB / 0.6257 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003327/0.4526, allocations: 1.033 MB / 0.6268 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01632/0.469, allocations: 5.146 MB / 0.6318 GB, free: 8.828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02182/0.4908, allocations: 6.348 MB / 0.638 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007961/0.4988, allocations: 5.173 MB / 0.643 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.5016, allocations: 1.34 MB / 0.6443 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/0.5144, allocations: 5.325 MB / 0.6495 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.5176, allocations: 1.584 MB / 0.6511 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000954/0.5186, allocations: 196 kB / 0.6513 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01575/0.5344, allocations: 7.227 MB / 0.6583 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.5357, allocations: 0.7208 MB / 0.659 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002336/0.5381, allocations: 1.097 MB / 0.6601 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0156/0.5537, allocations: 6.691 MB / 0.6666 GB, free: 5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.5537, allocations: 0 / 0.6666 GB, free: 5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5537, allocations: 0 / 0.6666 GB, free: 5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001367/0.5539, allocations: 0 / 0.6666 GB, free: 5 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.009809/0.5637, allocations: 2.797 MB / 0.6694 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5638, allocations: 15.97 kB / 0.6694 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007004/0.5708, allocations: 0.8143 MB / 0.6702 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.5736, allocations: 1.104 MB / 0.6713 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005162/0.5742, allocations: 461 kB / 0.6717 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006298/0.5748, allocations: 168.1 kB / 0.6719 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008997/0.5839, allocations: 3.135 MB / 0.6749 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.584, allocations: 15.88 kB / 0.6749 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005132/0.5846, allocations: 87.97 kB / 0.675 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.5847, allocations: 82.72 kB / 0.6751 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00768/0.5924, allocations: 2.695 MB / 0.6777 GB, free: 9.215 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.01964/0.6121, allocations: 15.71 MB / 0.6931 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/0.6167, allocations: 1.383 MB / 0.6944 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.6181, allocations: 0.5431 MB / 0.695 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.6193, allocations: 0.6946 MB / 0.6956 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.6194, allocations: 51.56 kB / 0.6957 GB, free: 5.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=101): time 4.248e-06/0.6194, allocations: 0 / 0.6957 GB, free: 5.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=117): time 0.01795/0.6374, allocations: 5.218 MB / 0.7008 GB, free: 316 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.6376, allocations: 171.2 kB / 0.7009 GB, free: 108 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.6403, allocations: 1.457 MB / 0.7024 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.6405, allocations: 49.7 kB / 0.7024 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008348/0.6413, allocations: 0.9399 MB / 0.7033 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004743/0.6418, allocations: 422.2 kB / 0.7037 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007105/0.6425, allocations: 455.9 kB / 0.7042 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6426, allocations: 305.1 kB / 0.7045 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.6443, allocations: 0.6798 MB / 0.7051 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/0.6468, allocations: 1.926 MB / 0.707 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004442/0.6513, allocations: 2.778 MB / 0.7097 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/0.6513, allocations: 15.94 kB / 0.7097 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00618/0.6575, allocations: 2.808 MB / 0.7125 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.6576, allocations: 20 kB / 0.7125 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.95e-05/0.6577, allocations: 44 kB / 0.7125 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.6591, allocations: 447.5 kB / 0.713 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.6609, allocations: 0.5225 MB / 0.7135 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2912/0.9522, allocations: 2.734 MB / 0.7161 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.9545, allocations: 142.6 kB / 0.7163 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/0.9549, allocations: 138.6 kB / 0.7164 GB, free: 175.2 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.001004/0.9559, allocations: 0.5399 MB / 0.7169 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004015/0.9563, allocations: 173.8 kB / 0.7171 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007313/0.9637, allocations: 4.952 MB / 0.7219 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.9637, allocations: 5.531 kB / 0.7219 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9637, allocations: 0 / 0.7219 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.9647, allocations: 401.8 kB / 0.7223 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.965, allocations: 67.17 kB / 0.7224 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.9662, allocations: 134 kB / 0.7225 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/0.9664, allocations: 106.6 kB / 0.7226 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005226/0.9717, allocations: 2.773 MB / 0.7253 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005675/0.9774, allocations: 3.74 MB / 0.729 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002197/0.9796, allocations: 1.133 MB / 0.7301 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002127/0.9818, allocations: 1.23 MB / 0.7313 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of Backend: time 8.41e-07/0.9818, allocations: 1.156 kB / 0.7313 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009869/0.9916, allocations: 3.037 MB / 0.7343 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006771/0.9984, allocations: 4.886 MB / 0.739 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07502/1.073, allocations: 70.88 MB / 0.8083 GB, free: 99.57 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