Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 112.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.2 MB / 257.8 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2303/0.2303, allocations: 46.89 MB / 361.1 MB, free: 4.676 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5007,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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 75.88 kB / 0.4968 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3432, allocations: 65.98 MB / 0.5612 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.08171/0.4249, allocations: 76.62 MB / 0.636 GB, free: 8.199 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04462/0.4695, allocations: 33.73 MB / 0.669 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.4718, allocations: 39.75 kB / 0.669 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.4752, allocations: 1.068 MB / 0.67 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01595/0.4912, allocations: 5.152 MB / 0.6751 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02184/0.513, allocations: 6.37 MB / 0.6813 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009237/0.5222, allocations: 5.204 MB / 0.6864 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.5251, allocations: 1.114 MB / 0.6875 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01295/0.5381, allocations: 5.352 MB / 0.6927 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003667/0.5417, allocations: 1.678 MB / 0.6943 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009249/0.5426, allocations: 196 kB / 0.6945 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01707/0.5597, allocations: 7.266 MB / 0.7016 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.5612, allocations: 0.7439 MB / 0.7023 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.5635, allocations: 1.105 MB / 0.7034 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.5798, allocations: 6.708 MB / 0.71 GB, free: 12.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.5799, allocations: 4 kB / 0.71 GB, free: 12.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5799, allocations: 0 / 0.71 GB, free: 12.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.889e-05/0.5799, allocations: 0 / 0.71 GB, free: 12.23 MB / 0.545 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.007108/0.587, allocations: 2.886 MB / 0.7128 GB, free: 9.277 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.5871, allocations: 8.031 kB / 0.7128 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00636/0.5934, allocations: 0.8192 MB / 0.7136 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.5963, allocations: 1.12 MB / 0.7147 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000461/0.5967, allocations: 460.9 kB / 0.7151 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003224/0.597, allocations: 176.1 kB / 0.7153 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007266/0.6043, allocations: 3.119 MB / 0.7183 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/0.6044, allocations: 19.88 kB / 0.7184 GB, free: 3.207 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/0.6046, allocations: 83.98 kB / 0.7184 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.6047, allocations: 86.64 kB / 0.7185 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006893/0.6116, allocations: 2.695 MB / 0.7212 GB, free: 344 kB / 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.3111/0.9227, allocations: 15.73 MB / 0.7365 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005301/0.928, allocations: 1.351 MB / 0.7378 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.9293, allocations: 0.5192 MB / 0.7383 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.9304, allocations: 0.6901 MB / 0.739 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.9304, allocations: 48.23 kB / 0.7391 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=101): time 3.377e-06/0.9304, allocations: 0 / 0.7391 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117): time 0.01568/0.9461, allocations: 5.241 MB / 0.7442 GB, free: 161 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.9461, allocations: 167 kB / 0.7443 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.9477, allocations: 1.463 MB / 0.7458 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.9478, allocations: 49.64 kB / 0.7458 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/0.9483, allocations: 0.9668 MB / 0.7468 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.9485, allocations: 440.4 kB / 0.7472 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.949, allocations: 461.3 kB / 0.7476 GB, free: 159 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.949, allocations: 306.9 kB / 0.7479 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.9504, allocations: 0.6819 MB / 0.7486 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/0.9524, allocations: 1.914 MB / 0.7505 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/0.9557, allocations: 2.779 MB / 0.7532 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.9558, allocations: 11.66 kB / 0.7532 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00498/0.9607, allocations: 2.812 MB / 0.7559 GB, free: 153 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.9608, allocations: 33.02 kB / 0.756 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/0.9608, allocations: 41.94 kB / 0.756 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.962, allocations: 442.5 kB / 0.7564 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.9634, allocations: 0.5239 MB / 0.7569 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.9649, allocations: 2.733 MB / 0.7596 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.9666, allocations: 146 kB / 0.7597 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.9668, allocations: 139.9 kB / 0.7599 GB, free: 149.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.0006863/0.9675, allocations: 0.5468 MB / 0.7604 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.9678, allocations: 179.1 kB / 0.7606 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005394/0.9732, allocations: 4.953 MB / 0.7654 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.9732, allocations: 3.984 kB / 0.7654 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.9732, allocations: 0 / 0.7654 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/0.9739, allocations: 411.1 kB / 0.7658 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.9742, allocations: 71.52 kB / 0.7659 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.9753, allocations: 139.8 kB / 0.766 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.9754, allocations: 108.2 kB / 0.7661 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004374/0.9798, allocations: 2.772 MB / 0.7688 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00448/0.9843, allocations: 3.751 MB / 0.7725 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001238/0.9855, allocations: 0.9405 MB / 0.7734 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001377/0.9869, allocations: 1.229 MB / 0.7746 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of Backend: time 4.41e-07/0.9869, allocations: 0 / 0.7746 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008615/0.9955, allocations: 2.99 MB / 0.7775 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006414/1.002, allocations: 4.988 MB / 0.7824 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.08114/1.083, allocations: 72.07 MB / 0.8528 GB, free: 54.41 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.34162126807496]