Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009919/0.000992, allocations: 102.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3381/0.3381, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001078, allocations: 52.06 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1105, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2958/0.4063, allocations: 76.86 MB / 0.5507 GB, free: 15.82 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03543/0.4418, allocations: 34.76 MB / 0.5846 GB, free: 7.188 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003311/0.4451, allocations: 56.91 kB / 0.5847 GB, free: 7.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003931/0.4492, allocations: 0.9312 MB / 0.5856 GB, free: 6.645 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01628/0.4655, allocations: 4.292 MB / 0.5898 GB, free: 4.598 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01839/0.4839, allocations: 5.599 MB / 0.5952 GB, free: 1.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009017/0.4929, allocations: 7.257 MB / 0.6023 GB, free: 13.14 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.4952, allocations: 1.152 MB / 0.6034 GB, free: 12.4 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01205/0.5073, allocations: 5.042 MB / 0.6084 GB, free: 9.422 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003386/0.5107, allocations: 1.643 MB / 0.61 GB, free: 8.309 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007/0.5114, allocations: 108 kB / 0.6101 GB, free: 8.203 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01619/0.5276, allocations: 7.09 MB / 0.617 GB, free: 1.105 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.529, allocations: 0.6349 MB / 0.6176 GB, free: 480 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002414/0.5314, allocations: 1.023 MB / 0.6186 GB, free: 15.44 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.5457, allocations: 6.586 MB / 0.625 GB, free: 8.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.5457, allocations: 0 / 0.625 GB, free: 8.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5457, allocations: 0 / 0.625 GB, free: 8.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001006/0.5459, allocations: 4 kB / 0.6251 GB, free: 8.836 MB / 442.7 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.007313/0.5532, allocations: 2.804 MB / 0.6278 GB, free: 5.977 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.5532, allocations: 8.031 kB / 0.6278 GB, free: 5.969 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005856/0.5591, allocations: 0.8066 MB / 0.6286 GB, free: 5.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.5613, allocations: 1.057 MB / 0.6296 GB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003717/0.5617, allocations: 457 kB / 0.6301 GB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003599/0.5621, allocations: 184.2 kB / 0.6302 GB, free: 3.375 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00661/0.5687, allocations: 3.138 MB / 0.6333 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.747e-05/0.5687, allocations: 19.86 kB / 0.6333 GB, free: 15.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/0.569, allocations: 83.98 kB / 0.6334 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.819e-05/0.5691, allocations: 78.72 kB / 0.6335 GB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00627/0.5754, allocations: 2.699 MB / 0.6361 GB, free: 13.09 MB / 458.7 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.0164/0.5918, allocations: 15.71 MB / 0.6515 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003876/0.5957, allocations: 1.387 MB / 0.6528 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.5969, allocations: 0.5461 MB / 0.6533 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000996/0.5979, allocations: 0.6986 MB / 0.654 GB, free: 9.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.598, allocations: 47.56 kB / 0.6541 GB, free: 9.465 MB / 474.7 MB Notification: Performance of pre-optimization done (n=101): time 2.284e-06/0.598, allocations: 0 / 0.6541 GB, free: 9.465 MB / 474.7 MB Notification: Performance of matching and sorting (n=117): time 0.01504/0.613, allocations: 5.217 MB / 0.6592 GB, free: 4.176 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.6131, allocations: 171.2 kB / 0.6593 GB, free: 3.969 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.6148, allocations: 1.449 MB / 0.6607 GB, free: 2.508 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.352e-05/0.6149, allocations: 49.7 kB / 0.6608 GB, free: 2.453 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005914/0.6155, allocations: 0.936 MB / 0.6617 GB, free: 1.504 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.6158, allocations: 426.2 kB / 0.6621 GB, free: 1.082 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004948/0.6163, allocations: 459.9 kB / 0.6625 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.6164, allocations: 305.1 kB / 0.6628 GB, free: 328 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.6178, allocations: 0.6798 MB / 0.6635 GB, free: 15.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.6199, allocations: 1.926 MB / 0.6654 GB, free: 13.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004349/0.6243, allocations: 2.774 MB / 0.6681 GB, free: 9.742 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-05/0.6244, allocations: 16 kB / 0.6681 GB, free: 9.727 MB / 490.7 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005701/0.6301, allocations: 2.808 MB / 0.6708 GB, free: 6.895 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.6301, allocations: 24 kB / 0.6709 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.473e-05/0.6302, allocations: 44.88 kB / 0.6709 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.6315, allocations: 447.7 kB / 0.6713 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.633, allocations: 0.5263 MB / 0.6719 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.635, allocations: 2.74 MB / 0.6745 GB, free: 3.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.6369, allocations: 203.9 kB / 0.6747 GB, free: 2.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.6371, allocations: 148 kB / 0.6749 GB, free: 2.664 MB / 490.7 MB 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.0008333/0.6379, allocations: 0.5334 MB / 0.6754 GB, free: 2.121 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/0.6383, allocations: 181.9 kB / 0.6756 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006702/0.6451, allocations: 4.962 MB / 0.6804 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/0.6451, allocations: 43.94 kB / 0.6804 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.6452, allocations: 11.92 kB / 0.6805 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.6452, allocations: 3.984 kB / 0.6805 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.6554, allocations: 7.115 MB / 0.6874 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.6555, allocations: 7.984 kB / 0.6874 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.6565, allocations: 259.6 kB / 0.6877 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.6578, allocations: 439 kB / 0.6881 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.58e-05/0.6579, allocations: 31.98 kB / 0.6881 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.6601, allocations: 2.787 MB / 0.6908 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.6601, allocations: 4 kB / 0.6908 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3873/1.047, allocations: 73.79 MB / 0.7629 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/1.048, allocations: 409.8 kB / 0.7633 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/1.048, allocations: 83.28 kB / 0.7634 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009897/1.049, allocations: 127.1 kB / 0.7635 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/1.049, allocations: 104.9 kB / 0.7636 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.291e-05/1.05, allocations: 51.97 kB / 0.7636 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001255/1.051, allocations: 1.232 MB / 0.7648 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/1.051, allocations: 0 / 0.7648 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01024/1.061, allocations: 3.844 MB / 0.7686 GB, free: 119.2 MB / 0.4948 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.01639/1.077, allocations: 2.527 MB / 0.7711 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003858/1.081, allocations: 2.232 MB / 0.7732 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.081, allocations: 1.438 kB / 0.7732 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/1.083, allocations: 1.353 MB / 0.7746 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004221/1.088, allocations: 0.8944 MB / 0.7754 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/1.095, allocations: 7.827 MB / 0.7831 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008553/1.096, allocations: 1.76 MB / 0.7848 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001973/1.098, allocations: 1.012 MB / 0.7858 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/1.098, allocations: 159.4 kB / 0.7859 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/1.098, allocations: 0 / 0.7859 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.3946/1.493, allocations: 175.5 MB / 0.9573 GB, free: 103.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches