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.001636/0.001636, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001672/0.001672, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.974/1.974, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4154/0.4154, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 78.69 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1688, allocations: 62.44 MB / 479.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3646/0.5334, allocations: 77.13 MB / 0.544 GB, free: 172 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04373/0.5772, allocations: 34.77 MB / 0.578 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003683/0.5809, allocations: 55.56 kB / 0.578 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004003/0.585, allocations: 0.9365 MB / 0.5789 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.6006, allocations: 4.309 MB / 0.5831 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01834/0.619, allocations: 5.605 MB / 0.5886 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009933/0.6289, allocations: 7.27 MB / 0.5957 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.6319, allocations: 1.16 MB / 0.5968 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01332/0.6453, allocations: 5.032 MB / 0.6018 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/0.649, allocations: 1.643 MB / 0.6034 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006255/0.6496, allocations: 111.9 kB / 0.6035 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0169/0.6665, allocations: 7.091 MB / 0.6104 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.6681, allocations: 0.6427 MB / 0.611 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002716/0.6708, allocations: 1.019 MB / 0.612 GB, free: 1.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.6848, allocations: 4.752 MB / 0.6167 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.6848, allocations: 4 kB / 0.6167 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.6849, allocations: 4 kB / 0.6167 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001008/0.685, allocations: 0 / 0.6167 GB, free: 12.39 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.01294/0.6979, allocations: 2.814 MB / 0.6194 GB, free: 9.516 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.865e-05/0.698, allocations: 13.47 kB / 0.6194 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.7097, allocations: 0.8105 MB / 0.6202 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.7136, allocations: 1.049 MB / 0.6212 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007222/0.7143, allocations: 462.7 kB / 0.6217 GB, free: 7.086 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006843/0.715, allocations: 168.4 kB / 0.6218 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.7274, allocations: 3.146 MB / 0.6249 GB, free: 3.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.024e-05/0.7275, allocations: 11.88 kB / 0.6249 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003118/0.7278, allocations: 84 kB / 0.625 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.7279, allocations: 78.72 kB / 0.6251 GB, free: 3.348 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007656/0.7356, allocations: 2.703 MB / 0.6277 GB, free: 0.6367 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.02216/0.7578, allocations: 15.73 MB / 0.6431 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004935/0.7628, allocations: 1.383 MB / 0.6444 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.7643, allocations: 0.5461 MB / 0.645 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.7656, allocations: 0.6947 MB / 0.6456 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.7657, allocations: 43.56 kB / 0.6457 GB, free: 13.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 4.538e-06/0.7657, allocations: 0 / 0.6457 GB, free: 13.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01875/0.7845, allocations: 5.23 MB / 0.6508 GB, free: 7.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.7846, allocations: 167.2 kB / 0.651 GB, free: 7.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/0.787, allocations: 1.457 MB / 0.6524 GB, free: 6.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.7872, allocations: 49.7 kB / 0.6524 GB, free: 5.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007582/0.788, allocations: 0.9322 MB / 0.6533 GB, free: 5.031 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004407/0.7884, allocations: 430.1 kB / 0.6537 GB, free: 4.605 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007061/0.7891, allocations: 455.9 kB / 0.6542 GB, free: 4.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7893, allocations: 309.1 kB / 0.6545 GB, free: 3.848 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.791, allocations: 0.6759 MB / 0.6551 GB, free: 3.168 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.7937, allocations: 1.922 MB / 0.657 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/0.7983, allocations: 2.778 MB / 0.6597 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-05/0.7984, allocations: 12 kB / 0.6597 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006569/0.805, allocations: 2.812 MB / 0.6625 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.75e-05/0.8051, allocations: 24 kB / 0.6625 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.36e-05/0.8052, allocations: 43.94 kB / 0.6625 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.8068, allocations: 447.5 kB / 0.663 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.8087, allocations: 0.5186 MB / 0.6635 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.8111, allocations: 2.744 MB / 0.6662 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.8136, allocations: 199.8 kB / 0.6664 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/0.8139, allocations: 140 kB / 0.6665 GB, free: 6.195 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.001195/0.8151, allocations: 0.5473 MB / 0.667 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005232/0.8157, allocations: 174 kB / 0.6672 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008234/0.8239, allocations: 4.981 MB / 0.672 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.946e-05/0.824, allocations: 43.94 kB / 0.6721 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.824, allocations: 0 / 0.6721 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.8241, allocations: 11.97 kB / 0.6721 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.836, allocations: 7.115 MB / 0.6791 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.8361, allocations: 4.062 kB / 0.6791 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.8372, allocations: 255.6 kB / 0.6793 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/0.8388, allocations: 439 kB / 0.6797 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.839, allocations: 28 kB / 0.6797 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002614/0.8416, allocations: 2.787 MB / 0.6825 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.8416, allocations: 7.938 kB / 0.6825 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007558/0.8492, allocations: 4.08 MB / 0.6865 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.8503, allocations: 409.8 kB / 0.6868 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005321/0.8508, allocations: 79.27 kB / 0.6869 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/0.8524, allocations: 127.7 kB / 0.687 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/0.8527, allocations: 104.9 kB / 0.6871 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.8528, allocations: 43.98 kB / 0.6872 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002461/0.8553, allocations: 1.229 MB / 0.6884 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8553, allocations: 4 kB / 0.6884 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005725/0.861, allocations: 1.41 MB / 0.6898 GB, free: 13.87 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.006402/0.8675, allocations: 1.395 MB / 0.6911 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005677/0.8732, allocations: 2.227 MB / 0.6933 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.449e-05/0.8732, allocations: 4.438 kB / 0.6933 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003879/0.8771, allocations: 1.343 MB / 0.6946 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007758/0.8849, allocations: 0.8927 MB / 0.6955 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/0.9002, allocations: 5.676 MB / 0.701 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002596/0.9029, allocations: 1.636 MB / 0.7026 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008874/0.9038, allocations: 159.4 kB / 0.7028 GB, free: 452 kB / 0.5294 GB Notification: Performance of SimCode: time 1.462e-06/0.9038, allocations: 0 / 0.7028 GB, free: 452 kB / 0.5294 GB Notification: Performance of Templates: time 0.4822/1.386, allocations: 81.25 MB / 0.7821 GB, free: 125.9 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