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.001053/0.001053, allocations: 97.73 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 203.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.7 MB / 247.5 MB, free: 11.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 46.18 MB / 345.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002687, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 63.56 MB / 483.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2909/0.3935, allocations: 75.76 MB / 0.5464 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04051/0.434, allocations: 34.31 MB / 0.5799 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.4368, allocations: 51.56 kB / 0.5799 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.4401, allocations: 0.9326 MB / 0.5808 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01433/0.4544, allocations: 4.31 MB / 0.5851 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01775/0.4722, allocations: 5.597 MB / 0.5905 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00809/0.4803, allocations: 7.268 MB / 0.5976 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002249/0.4826, allocations: 1.155 MB / 0.5987 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01079/0.4934, allocations: 5.029 MB / 0.6037 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003571/0.497, allocations: 1.631 MB / 0.6053 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008421/0.4979, allocations: 104 kB / 0.6053 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01549/0.5134, allocations: 7.102 MB / 0.6123 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.5146, allocations: 0.6271 MB / 0.6129 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.5168, allocations: 1.028 MB / 0.6139 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008139/0.525, allocations: 4.708 MB / 0.6185 GB, free: 14.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.525, allocations: 0 / 0.6185 GB, free: 14.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.525, allocations: 0 / 0.6185 GB, free: 14.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.438e-05/0.5251, allocations: 0 / 0.6185 GB, free: 14.66 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.006715/0.5318, allocations: 2.463 MB / 0.6209 GB, free: 12.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.5319, allocations: 9.469 kB / 0.6209 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006654/0.5386, allocations: 0.8456 MB / 0.6217 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.541, allocations: 1.045 MB / 0.6228 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005308/0.5416, allocations: 465.1 kB / 0.6232 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005795/0.5422, allocations: 167.8 kB / 0.6234 GB, free: 9.523 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00826/0.5505, allocations: 3.217 MB / 0.6265 GB, free: 6.051 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.861e-05/0.5506, allocations: 11.94 kB / 0.6265 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003921/0.551, allocations: 83.92 kB / 0.6266 GB, free: 5.957 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.5511, allocations: 78.72 kB / 0.6267 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007529/0.5587, allocations: 2.808 MB / 0.6294 GB, free: 3.062 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.02022/0.5789, allocations: 15.82 MB / 0.6449 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00486/0.5838, allocations: 1.467 MB / 0.6463 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.5852, allocations: 0.5813 MB / 0.6469 GB, free: 76 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.5864, allocations: 0.7141 MB / 0.6476 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.5865, allocations: 51.56 kB / 0.6476 GB, free: 15.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 3.998e-06/0.5865, allocations: 0 / 0.6476 GB, free: 15.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01796/0.6045, allocations: 5.517 MB / 0.653 GB, free: 9.598 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.6046, allocations: 167.2 kB / 0.6532 GB, free: 9.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.6069, allocations: 1.461 MB / 0.6546 GB, free: 7.922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.6071, allocations: 45.7 kB / 0.6546 GB, free: 7.871 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007369/0.6078, allocations: 0.936 MB / 0.6555 GB, free: 6.922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004173/0.6083, allocations: 426.1 kB / 0.656 GB, free: 6.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.6086, allocations: 202.3 kB / 0.6561 GB, free: 6.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6087, allocations: 309.1 kB / 0.6564 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.6104, allocations: 0.715 MB / 0.6571 GB, free: 5.273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.6129, allocations: 1.969 MB / 0.6591 GB, free: 2.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/0.6172, allocations: 2.849 MB / 0.6618 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.025e-05/0.6172, allocations: 12 kB / 0.6619 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006325/0.6236, allocations: 2.886 MB / 0.6647 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.6237, allocations: 26.5 kB / 0.6647 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.826e-05/0.6237, allocations: 43.94 kB / 0.6647 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.6252, allocations: 443.1 kB / 0.6652 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.6269, allocations: 0.5498 MB / 0.6657 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.6292, allocations: 2.744 MB / 0.6684 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.6314, allocations: 223.8 kB / 0.6686 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/0.6317, allocations: 140 kB / 0.6687 GB, free: 8.062 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.00111/0.6328, allocations: 0.5359 MB / 0.6692 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004406/0.6333, allocations: 173.9 kB / 0.6694 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007505/0.6408, allocations: 5.079 MB / 0.6744 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/0.6409, allocations: 51.92 kB / 0.6744 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.6409, allocations: 4 kB / 0.6744 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.6409, allocations: 7.969 kB / 0.6744 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.652, allocations: 7.236 MB / 0.6815 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.652, allocations: 4 kB / 0.6815 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.6531, allocations: 303.9 kB / 0.6818 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.6545, allocations: 435.1 kB / 0.6822 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.5e-05/0.6546, allocations: 28 kB / 0.6822 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.6569, allocations: 2.795 MB / 0.685 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.657, allocations: 4 kB / 0.685 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006835/0.6638, allocations: 4.193 MB / 0.6891 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.6649, allocations: 0.5594 MB / 0.6896 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004141/0.6654, allocations: 28 kB / 0.6896 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.6668, allocations: 147.6 kB / 0.6898 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.667, allocations: 104.9 kB / 0.6899 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.6672, allocations: 55.91 kB / 0.6899 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002166/0.6694, allocations: 1.24 MB / 0.6911 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6694, allocations: 0 / 0.6911 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005017/0.6744, allocations: 1.402 MB / 0.6925 GB, free: 15.21 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.006038/0.6804, allocations: 1.393 MB / 0.6939 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005307/0.6858, allocations: 2.301 MB / 0.6961 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.6858, allocations: 1.125 kB / 0.6961 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002724/0.6886, allocations: 1.39 MB / 0.6975 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/0.6948, allocations: 0.888 MB / 0.6983 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009087/0.7039, allocations: 5.798 MB / 0.704 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.7054, allocations: 1.644 MB / 0.7056 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.706, allocations: 155.4 kB / 0.7058 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of SimCode: time 1.372e-06/0.706, allocations: 0 / 0.7058 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of Templates: time 0.3407/1.047, allocations: 81.01 MB / 0.7849 GB, free: 125 MB / 0.5294 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/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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches