Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2227/0.2227, allocations: 46.97 MB / 361.6 MB, free: 4.043 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3426, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07545/0.418, allocations: 68.89 MB / 0.6291 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03966/0.4577, allocations: 30.24 MB / 0.6586 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.4601, allocations: 59.5 kB / 0.6587 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003534/0.4637, allocations: 0.9628 MB / 0.6596 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0147/0.4784, allocations: 5.15 MB / 0.6647 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01821/0.4966, allocations: 6.204 MB / 0.6707 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008335/0.5049, allocations: 5.236 MB / 0.6758 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.5076, allocations: 1.126 MB / 0.6769 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01267/0.5202, allocations: 5.356 MB / 0.6822 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003882/0.5241, allocations: 1.682 MB / 0.6838 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008217/0.5249, allocations: 200 kB / 0.684 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01517/0.5401, allocations: 7.122 MB / 0.6909 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.5413, allocations: 0.7323 MB / 0.6917 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.5428, allocations: 0.93 MB / 0.6926 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.559, allocations: 6.677 MB / 0.6991 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.559, allocations: 4 kB / 0.6991 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.384e-06/0.559, allocations: 0 / 0.6991 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.439e-05/0.5591, allocations: 3.938 kB / 0.6991 GB, free: 7.156 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.007667/0.5667, allocations: 2.795 MB / 0.7018 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.5668, allocations: 8.031 kB / 0.7018 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006643/0.5734, allocations: 0.827 MB / 0.7026 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.5762, allocations: 1.028 MB / 0.7036 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005814/0.5768, allocations: 0.7051 MB / 0.7043 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.5772, allocations: 180 kB / 0.7045 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008029/0.5852, allocations: 3.75 MB / 0.7082 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.105e-05/0.5853, allocations: 19.86 kB / 0.7082 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/0.5855, allocations: 83.98 kB / 0.7083 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.5856, allocations: 78.72 kB / 0.7083 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007045/0.5927, allocations: 2.683 MB / 0.711 GB, free: 10.38 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.01869/0.6114, allocations: 12.18 MB / 0.7229 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/0.6159, allocations: 1.341 MB / 0.7242 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.6172, allocations: 0.5155 MB / 0.7247 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.6183, allocations: 248.7 kB / 0.7249 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.6183, allocations: 47.56 kB / 0.725 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=101): time 3.617e-06/0.6183, allocations: 0 / 0.725 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117): time 0.01757/0.6359, allocations: 5.058 MB / 0.7299 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.636, allocations: 167.2 kB / 0.7301 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.6376, allocations: 1.239 MB / 0.7313 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.6377, allocations: 45.7 kB / 0.7313 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007956/0.6385, allocations: 0.9978 MB / 0.7323 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000405/0.6389, allocations: 436.4 kB / 0.7327 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006048/0.6396, allocations: 464.2 kB / 0.7331 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.6397, allocations: 353.9 kB / 0.7335 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.6413, allocations: 0.6759 MB / 0.7341 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2913/0.9326, allocations: 2.023 MB / 0.7361 GB, free: 163 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005309/0.9379, allocations: 2.776 MB / 0.7388 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-05/0.938, allocations: 15.31 kB / 0.7388 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005489/0.9435, allocations: 2.793 MB / 0.7416 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.9435, allocations: 22.59 kB / 0.7416 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.919e-05/0.9435, allocations: 42.78 kB / 0.7416 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.9448, allocations: 441.3 kB / 0.7421 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.9464, allocations: 0.5237 MB / 0.7426 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.9479, allocations: 2.743 MB / 0.7452 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.9496, allocations: 144.2 kB / 0.7454 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.9498, allocations: 138.3 kB / 0.7455 GB, free: 157.7 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.0007504/0.9506, allocations: 0.5362 MB / 0.746 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.9508, allocations: 157.6 kB / 0.7462 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005575/0.9564, allocations: 5.091 MB / 0.7512 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.9564, allocations: 9.844 kB / 0.7512 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.9564, allocations: 0 / 0.7512 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006699/0.9571, allocations: 309.6 kB / 0.7515 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.9573, allocations: 67.23 kB / 0.7515 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009656/0.9583, allocations: 128.9 kB / 0.7516 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.9585, allocations: 101.7 kB / 0.7517 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004413/0.9629, allocations: 2.8 MB / 0.7545 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004529/0.9674, allocations: 3.818 MB / 0.7582 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00124/0.9686, allocations: 0.9636 MB / 0.7591 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001125/0.9698, allocations: 1.03 MB / 0.7602 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of Backend: time 4.61e-07/0.9698, allocations: 0 / 0.7602 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008757/0.9785, allocations: 2.97 MB / 0.7631 GB, free: 144 MB / 0.5606 GB Notification: Performance of SimCode: time 0.005651/0.9842, allocations: 4.657 MB / 0.7676 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.07442/1.059, allocations: 68.95 MB / 0.8349 GB, free: 70.92 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.23578901700239]