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.001374/0.001374, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.00143, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2586/0.2586, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 79.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4758, allocations: 62.43 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07681/0.5527, allocations: 75.44 MB / 0.6047 GB, free: 6.219 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04494/0.5977, allocations: 33.5 MB / 0.6374 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00337/0.6011, allocations: 39.75 kB / 0.6374 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003998/0.6052, allocations: 1.044 MB / 0.6384 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01934/0.6245, allocations: 5.153 MB / 0.6435 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02253/0.6471, allocations: 6.338 MB / 0.6497 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009043/0.6562, allocations: 5.197 MB / 0.6547 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003212/0.6594, allocations: 1.332 MB / 0.656 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01381/0.6733, allocations: 5.332 MB / 0.6612 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003891/0.6772, allocations: 1.592 MB / 0.6628 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.6782, allocations: 196 kB / 0.663 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01762/0.6959, allocations: 7.231 MB / 0.67 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001661/0.6976, allocations: 0.7247 MB / 0.6708 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002901/0.7005, allocations: 1.089 MB / 0.6718 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0198/0.7203, allocations: 6.699 MB / 0.6784 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.7204, allocations: 0 / 0.6784 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7204, allocations: 3.938 kB / 0.6784 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001368/0.7205, allocations: 0 / 0.6784 GB, free: 10.5 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.009166/0.7297, allocations: 2.806 MB / 0.6811 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.7298, allocations: 13.47 kB / 0.6811 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006764/0.7366, allocations: 0.8065 MB / 0.6819 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.7392, allocations: 1.111 MB / 0.683 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00047/0.7397, allocations: 465 kB / 0.6834 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005467/0.7403, allocations: 168.1 kB / 0.6836 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008141/0.7484, allocations: 3.127 MB / 0.6866 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-05/0.7485, allocations: 15.78 kB / 0.6867 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003685/0.7489, allocations: 84 kB / 0.6867 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.749, allocations: 86.64 kB / 0.6868 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007294/0.7563, allocations: 2.695 MB / 0.6895 GB, free: 14.71 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.02033/0.7767, allocations: 15.72 MB / 0.7048 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004627/0.7813, allocations: 1.395 MB / 0.7062 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.7827, allocations: 0.5417 MB / 0.7067 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.7839, allocations: 0.6986 MB / 0.7074 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.784, allocations: 47.5 kB / 0.7074 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=101): time 2.785e-06/0.784, allocations: 0 / 0.7074 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117): time 0.01852/0.8025, allocations: 5.224 MB / 0.7125 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.8027, allocations: 171.2 kB / 0.7127 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.8051, allocations: 1.457 MB / 0.7141 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.8052, allocations: 49.7 kB / 0.7142 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007973/0.8061, allocations: 0.936 MB / 0.7151 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/0.8065, allocations: 422.2 kB / 0.7155 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006833/0.8072, allocations: 455.9 kB / 0.7159 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.8073, allocations: 305.1 kB / 0.7162 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.809, allocations: 0.6837 MB / 0.7169 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.335/1.144, allocations: 1.92 MB / 0.7187 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00509/1.149, allocations: 2.771 MB / 0.7214 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/1.149, allocations: 13.56 kB / 0.7215 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005778/1.155, allocations: 2.817 MB / 0.7242 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/1.155, allocations: 23.31 kB / 0.7242 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-05/1.155, allocations: 45.5 kB / 0.7243 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/1.157, allocations: 438.5 kB / 0.7247 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/1.158, allocations: 0.5255 MB / 0.7252 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/1.16, allocations: 2.739 MB / 0.7279 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/1.162, allocations: 142.9 kB / 0.728 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/1.162, allocations: 140.6 kB / 0.7282 GB, free: 165.6 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.0008605/1.163, allocations: 0.5389 MB / 0.7287 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/1.163, allocations: 174.8 kB / 0.7288 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006272/1.17, allocations: 4.949 MB / 0.7337 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/1.17, allocations: 50.89 kB / 0.7337 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.17, allocations: 0 / 0.7337 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/1.17, allocations: 8.688 kB / 0.7337 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008269/1.178, allocations: 7.111 MB / 0.7407 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.178, allocations: 2 kB / 0.7407 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/1.179, allocations: 259.9 kB / 0.7409 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/1.18, allocations: 434.4 kB / 0.7413 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-05/1.18, allocations: 32.2 kB / 0.7414 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/1.182, allocations: 2.788 MB / 0.7441 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.182, allocations: 8.156 kB / 0.7441 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005497/1.187, allocations: 4.077 MB / 0.7481 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007411/1.188, allocations: 413.8 kB / 0.7485 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/1.188, allocations: 75.31 kB / 0.7486 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008923/1.189, allocations: 87.73 kB / 0.7486 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.19, allocations: 112.4 kB / 0.7487 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/1.19, allocations: 47.97 kB / 0.7488 GB, free: 153 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00142/1.191, allocations: 1.229 MB / 0.75 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.5e-07/1.191, allocations: 0 / 0.75 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004505/1.196, allocations: 1.402 MB / 0.7514 GB, free: 150.5 MB / 0.5606 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.004297/1.2, allocations: 1.385 MB / 0.7527 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004182/1.204, allocations: 2.242 MB / 0.7549 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.204, allocations: 448 / 0.7549 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002042/1.206, allocations: 1.359 MB / 0.7562 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00418/1.21, allocations: 0.9319 MB / 0.7571 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006431/1.217, allocations: 4.652 MB / 0.7617 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009296/1.218, allocations: 1.652 MB / 0.7633 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001936/1.22, allocations: 0.9603 MB / 0.7642 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/1.22, allocations: 147.4 kB / 0.7644 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/1.22, allocations: 0 / 0.7644 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.08288/1.303, allocations: 68.54 MB / 0.8313 GB, free: 69.02 MB / 0.5606 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