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.001595/0.001595, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1084, allocations: 62.44 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2871/0.3956, allocations: 75.43 MB / 0.5438 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04008/0.4357, allocations: 33.5 MB / 0.5765 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.4385, allocations: 39.75 kB / 0.5766 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003623/0.4422, allocations: 1.045 MB / 0.5776 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0152/0.4574, allocations: 5.123 MB / 0.5826 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01917/0.4766, allocations: 6.33 MB / 0.5888 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007544/0.4842, allocations: 5.18 MB / 0.5939 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002601/0.4868, allocations: 1.323 MB / 0.5951 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01291/0.4998, allocations: 5.295 MB / 0.6003 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/0.5029, allocations: 1.592 MB / 0.6019 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008532/0.5038, allocations: 196 kB / 0.6021 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01533/0.5192, allocations: 7.235 MB / 0.6091 GB, free: 4.391 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.5206, allocations: 0.7169 MB / 0.6098 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002467/0.5231, allocations: 1.093 MB / 0.6109 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01719/0.5403, allocations: 6.691 MB / 0.6174 GB, free: 11.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.5404, allocations: 3.984 kB / 0.6174 GB, free: 11.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5404, allocations: 4 kB / 0.6174 GB, free: 11.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001222/0.5405, allocations: 0 / 0.6174 GB, free: 11.86 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.008196/0.5487, allocations: 2.806 MB / 0.6202 GB, free: 8.992 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5488, allocations: 13.47 kB / 0.6202 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006489/0.5553, allocations: 0.8065 MB / 0.621 GB, free: 8.172 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.5578, allocations: 1.108 MB / 0.6221 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004613/0.5583, allocations: 461 kB / 0.6225 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004942/0.5588, allocations: 168.4 kB / 0.6227 GB, free: 6.344 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007348/0.5661, allocations: 3.134 MB / 0.6257 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/0.5662, allocations: 11.88 kB / 0.6257 GB, free: 2.941 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.5664, allocations: 80 kB / 0.6258 GB, free: 2.863 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.513e-05/0.5665, allocations: 86.7 kB / 0.6259 GB, free: 2.777 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006591/0.5731, allocations: 2.699 MB / 0.6285 GB, free: 72 kB / 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.01611/0.5892, allocations: 15.73 MB / 0.6439 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/0.5933, allocations: 1.383 MB / 0.6452 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.5945, allocations: 0.5461 MB / 0.6458 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.5956, allocations: 0.6908 MB / 0.6464 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.5956, allocations: 51.56 kB / 0.6465 GB, free: 12.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.795e-06/0.5956, allocations: 4 kB / 0.6465 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01606/0.6117, allocations: 5.211 MB / 0.6516 GB, free: 7.148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.6119, allocations: 175.2 kB / 0.6518 GB, free: 6.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.6139, allocations: 1.457 MB / 0.6532 GB, free: 5.469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.93e-05/0.614, allocations: 49.7 kB / 0.6532 GB, free: 5.414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/0.6146, allocations: 0.9399 MB / 0.6541 GB, free: 4.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.6149, allocations: 414.3 kB / 0.6545 GB, free: 4.051 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005561/0.6155, allocations: 459.8 kB / 0.655 GB, free: 3.594 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6156, allocations: 309 kB / 0.6553 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.617, allocations: 0.6798 MB / 0.6559 GB, free: 2.605 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.6192, allocations: 1.922 MB / 0.6578 GB, free: 68 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/0.6231, allocations: 2.782 MB / 0.6605 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-05/0.6231, allocations: 12 kB / 0.6605 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005103/0.6282, allocations: 2.804 MB / 0.6633 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.6283, allocations: 28.25 kB / 0.6633 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/0.6283, allocations: 40 kB / 0.6633 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.6296, allocations: 443 kB / 0.6638 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.6312, allocations: 0.5227 MB / 0.6643 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.6332, allocations: 2.744 MB / 0.667 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.6349, allocations: 139.9 kB / 0.6671 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.6351, allocations: 140 kB / 0.6672 GB, free: 5.695 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.0007802/0.6359, allocations: 0.5474 MB / 0.6678 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.6362, allocations: 173.9 kB / 0.6679 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006394/0.6426, allocations: 4.95 MB / 0.6728 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.892e-05/0.6427, allocations: 47.92 kB / 0.6728 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6427, allocations: 0 / 0.6728 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.6427, allocations: 3.984 kB / 0.6728 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009656/0.6523, allocations: 7.109 MB / 0.6797 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.6524, allocations: 4 kB / 0.6797 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009571/0.6533, allocations: 252 kB / 0.68 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.6547, allocations: 450.9 kB / 0.6804 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.6548, allocations: 28 kB / 0.6804 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.6571, allocations: 2.787 MB / 0.6832 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6571, allocations: 4 kB / 0.6832 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/0.6632, allocations: 4.086 MB / 0.6872 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008125/0.6641, allocations: 409.8 kB / 0.6876 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.6643, allocations: 75.27 kB / 0.6876 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008858/0.6652, allocations: 87.86 kB / 0.6877 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.6654, allocations: 112.7 kB / 0.6878 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.6655, allocations: 43.98 kB / 0.6879 GB, free: 96 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001524/0.667, allocations: 1.232 MB / 0.6891 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.667, allocations: 0 / 0.6891 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003781/0.6708, allocations: 1.41 MB / 0.6904 GB, free: 13.43 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.003832/0.6747, allocations: 1.382 MB / 0.6918 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004389/0.6791, allocations: 2.239 MB / 0.694 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.6791, allocations: 4.438 kB / 0.694 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.6815, allocations: 1.351 MB / 0.6953 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/0.6855, allocations: 0.9396 MB / 0.6962 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007051/0.6926, allocations: 4.647 MB / 0.7008 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.6942, allocations: 1.648 MB / 0.7024 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002085/0.6963, allocations: 0.9741 MB / 0.7033 GB, free: 152 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.6966, allocations: 139.4 kB / 0.7034 GB, free: 12 kB / 0.5294 GB Notification: Performance of SimCode: time 9.01e-07/0.6966, allocations: 0 / 0.7034 GB, free: 12 kB / 0.5294 GB Notification: Performance of Templates: time 0.274/0.9706, allocations: 67.91 MB / 0.7698 GB, free: 138.6 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 -s cvode -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