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.00115/0.00115, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2028/0.2028, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 78.41 kB / 417.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1123, allocations: 62.46 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2849/0.3973, allocations: 75.42 MB / 0.5425 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03763/0.435, allocations: 33.5 MB / 0.5752 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.4369, allocations: 43.75 kB / 0.5752 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002705/0.4397, allocations: 1.041 MB / 0.5763 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01317/0.4529, allocations: 5.127 MB / 0.5813 GB, free: 60 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01688/0.4698, allocations: 6.337 MB / 0.5875 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008063/0.4779, allocations: 5.177 MB / 0.5925 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002626/0.4805, allocations: 1.332 MB / 0.5938 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/0.4921, allocations: 5.298 MB / 0.599 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.495, allocations: 1.584 MB / 0.6005 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005904/0.4956, allocations: 196 kB / 0.6007 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/0.5097, allocations: 7.091 MB / 0.6076 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.5109, allocations: 0.7286 MB / 0.6084 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.5124, allocations: 1.101 MB / 0.6094 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.5279, allocations: 6.665 MB / 0.6159 GB, free: 12.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.528, allocations: 0 / 0.6159 GB, free: 12.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.528, allocations: 0 / 0.6159 GB, free: 12.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.249e-05/0.528, allocations: 0 / 0.6159 GB, free: 12.43 MB / 462.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.006924/0.535, allocations: 2.806 MB / 0.6187 GB, free: 9.566 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.535, allocations: 9.469 kB / 0.6187 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/0.5412, allocations: 0.8143 MB / 0.6195 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.5432, allocations: 1.057 MB / 0.6205 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003302/0.5436, allocations: 457 kB / 0.621 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/0.5438, allocations: 172.4 kB / 0.6211 GB, free: 6.969 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006686/0.5505, allocations: 3.131 MB / 0.6242 GB, free: 3.582 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.803e-05/0.5506, allocations: 15.88 kB / 0.6242 GB, free: 3.566 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.5508, allocations: 87.92 kB / 0.6243 GB, free: 3.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.369e-05/0.5509, allocations: 86.66 kB / 0.6244 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00686/0.5578, allocations: 2.699 MB / 0.627 GB, free: 0.6875 MB / 462.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.01774/0.5756, allocations: 15.76 MB / 0.6424 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004417/0.58, allocations: 1.387 MB / 0.6437 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.5813, allocations: 0.5422 MB / 0.6443 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.5825, allocations: 0.6986 MB / 0.645 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.5826, allocations: 47.56 kB / 0.645 GB, free: 13.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.565e-06/0.5826, allocations: 0 / 0.645 GB, free: 13.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01704/0.5997, allocations: 5.217 MB / 0.6501 GB, free: 7.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/0.5998, allocations: 179.2 kB / 0.6503 GB, free: 7.512 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.6017, allocations: 1.453 MB / 0.6517 GB, free: 6.047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.6019, allocations: 57.58 kB / 0.6517 GB, free: 5.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006724/0.6025, allocations: 0.9322 MB / 0.6527 GB, free: 5.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.6029, allocations: 422.2 kB / 0.6531 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005533/0.6034, allocations: 455.9 kB / 0.6535 GB, free: 4.168 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.6035, allocations: 309.1 kB / 0.6538 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.6051, allocations: 0.6798 MB / 0.6544 GB, free: 3.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/0.6075, allocations: 1.922 MB / 0.6563 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004253/0.6118, allocations: 2.775 MB / 0.659 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.6118, allocations: 12 kB / 0.659 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005533/0.6174, allocations: 2.812 MB / 0.6618 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.6174, allocations: 26.5 kB / 0.6618 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.005e-05/0.6175, allocations: 48.16 kB / 0.6619 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.6188, allocations: 435.1 kB / 0.6623 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.6205, allocations: 0.5264 MB / 0.6628 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.6225, allocations: 2.748 MB / 0.6655 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.6241, allocations: 140.1 kB / 0.6656 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.6243, allocations: 144 kB / 0.6657 GB, free: 6.262 MB / 0.4981 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.0007663/0.6251, allocations: 0.5317 MB / 0.6663 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/0.6254, allocations: 182 kB / 0.6664 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006706/0.6321, allocations: 4.965 MB / 0.6713 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.814e-05/0.6321, allocations: 47.94 kB / 0.6713 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6321, allocations: 0 / 0.6713 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.6322, allocations: 11.97 kB / 0.6713 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009396/0.6416, allocations: 7.115 MB / 0.6783 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/0.6416, allocations: 4 kB / 0.6783 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.6427, allocations: 256 kB / 0.6785 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.644, allocations: 450.9 kB / 0.679 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.591e-05/0.6441, allocations: 28 kB / 0.679 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.6464, allocations: 2.783 MB / 0.6817 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6464, allocations: 8.188 kB / 0.6817 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00644/0.6528, allocations: 4.076 MB / 0.6857 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007782/0.6536, allocations: 417.7 kB / 0.6861 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/0.654, allocations: 75.27 kB / 0.6862 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.655, allocations: 87.92 kB / 0.6863 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.6553, allocations: 105 kB / 0.6864 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.963e-05/0.6554, allocations: 47.98 kB / 0.6864 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001655/0.6571, allocations: 1.229 MB / 0.6876 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6571, allocations: 0 / 0.6876 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004255/0.6613, allocations: 1.421 MB / 0.689 GB, free: 13.96 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {(2,5), (2,5), (2,5), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004109/0.6655, allocations: 1.386 MB / 0.6903 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006212/0.6717, allocations: 2.508 MB / 0.6928 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.6717, allocations: 448 / 0.6928 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.6741, allocations: 1.351 MB / 0.6941 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004429/0.6786, allocations: 0.9329 MB / 0.695 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006664/0.6852, allocations: 4.705 MB / 0.6996 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.6864, allocations: 1.652 MB / 0.7012 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00223/0.6887, allocations: 0.9626 MB / 0.7022 GB, free: 396 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.689, allocations: 143.4 kB / 0.7023 GB, free: 252 kB / 0.5294 GB Notification: Performance of SimCode: time 8.02e-07/0.689, allocations: 0 / 0.7023 GB, free: 252 kB / 0.5294 GB Notification: Performance of Templates: time 0.2828/0.9718, allocations: 68.05 MB / 0.7688 GB, free: 170 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches