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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008961/0.000896, allocations: 96.91 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009389/0.000939, allocations: 175.4 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.205/1.205, allocations: 205.4 MB / 222.7 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3096/0.3096, allocations: 43.54 MB / 314.5 MB, free: 8.992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005278/0.0005279, allocations: 16 kB / 383.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1193, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2313/0.3507, allocations: 63.42 MB / 0.4943 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02958/0.3803, allocations: 28.46 MB / 0.5221 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.3823, allocations: 49.97 kB / 0.5222 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.3848, allocations: 0.912 MB / 0.523 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01305/0.3978, allocations: 4.009 MB / 0.527 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01816/0.416, allocations: 5.296 MB / 0.5321 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005495/0.4215, allocations: 2.996 MB / 0.5351 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.4232, allocations: 1.084 MB / 0.5361 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01153/0.4347, allocations: 7.187 MB / 0.5431 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.4375, allocations: 1.039 MB / 0.5441 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004483/0.438, allocations: 100 kB / 0.5442 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01537/0.4534, allocations: 6.996 MB / 0.5511 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007277/0.4541, allocations: 0.5844 MB / 0.5516 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006994/0.4549, allocations: 408.8 kB / 0.552 GB, free: 440 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007681/0.4625, allocations: 4.58 MB / 0.5565 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.4626, allocations: 4 kB / 0.5565 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4626, allocations: 0 / 0.5565 GB, free: 11.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.4626, allocations: 0 / 0.5565 GB, free: 11.84 MB / 430.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.00515/0.4677, allocations: 2.472 MB / 0.5589 GB, free: 9.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4678, allocations: 12.02 kB / 0.5589 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/0.4735, allocations: 0.8408 MB / 0.5598 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.4752, allocations: 1.029 MB / 0.5608 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.4756, allocations: 463.5 kB / 0.5612 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.4758, allocations: 167.9 kB / 0.5614 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005886/0.4817, allocations: 3.181 MB / 0.5645 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.4817, allocations: 15.86 kB / 0.5645 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.4819, allocations: 83.95 kB / 0.5646 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.507e-05/0.482, allocations: 82.72 kB / 0.5646 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00607/0.4881, allocations: 2.8 MB / 0.5674 GB, free: 288 kB / 430.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.01582/0.5039, allocations: 15.8 MB / 0.5828 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004049/0.508, allocations: 1.47 MB / 0.5842 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.5091, allocations: 0.7103 MB / 0.5849 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.5092, allocations: 51.56 kB / 0.585 GB, free: 13.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=101): time 2.786e-06/0.5092, allocations: 3.938 kB / 0.585 GB, free: 13.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=117): time 0.01536/0.5245, allocations: 5.499 MB / 0.5904 GB, free: 7.453 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.5246, allocations: 167.2 kB / 0.5905 GB, free: 7.254 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.5262, allocations: 1.449 MB / 0.5919 GB, free: 5.793 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.361e-05/0.5263, allocations: 49.7 kB / 0.592 GB, free: 5.738 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005948/0.5269, allocations: 0.9322 MB / 0.5929 GB, free: 4.793 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.5272, allocations: 426.2 kB / 0.5933 GB, free: 4.371 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.5272, allocations: 44 kB / 0.5933 GB, free: 4.328 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5274, allocations: 402.5 kB / 0.5937 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.5289, allocations: 0.7072 MB / 0.5944 GB, free: 3.219 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.5311, allocations: 1.95 MB / 0.5963 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.5329, allocations: 1.033 MB / 0.5973 GB, free: 15.62 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.5329, allocations: 12 kB / 0.5973 GB, free: 15.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.004953/0.5379, allocations: 2.885 MB / 0.6002 GB, free: 12.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.5379, allocations: 24.19 kB / 0.6002 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.441e-05/0.538, allocations: 44 kB / 0.6002 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.5393, allocations: 447.1 kB / 0.6006 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.5409, allocations: 0.542 MB / 0.6012 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.5428, allocations: 2.744 MB / 0.6039 GB, free: 8.805 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.5445, allocations: 223.6 kB / 0.6041 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.5447, allocations: 136 kB / 0.6042 GB, free: 8.453 MB / 478.1 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,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000794/0.5455, allocations: 0.5474 MB / 0.6047 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.5458, allocations: 173.9 kB / 0.6049 GB, free: 7.723 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007066/0.5529, allocations: 5.099 MB / 0.6099 GB, free: 2.551 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/0.5529, allocations: 47.94 kB / 0.6099 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5529, allocations: 0 / 0.6099 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.553, allocations: 7.969 kB / 0.6099 GB, free: 2.496 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.563, allocations: 7.224 MB / 0.617 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5631, allocations: 0 / 0.617 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.5641, allocations: 296 kB / 0.6173 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.5654, allocations: 447 kB / 0.6177 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.49e-05/0.5655, allocations: 28 kB / 0.6177 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.5675, allocations: 2.787 MB / 0.6204 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5676, allocations: 8.062 kB / 0.6205 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006341/0.5739, allocations: 4.349 MB / 0.6247 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.575, allocations: 0.5478 MB / 0.6252 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004047/0.5754, allocations: 39.98 kB / 0.6253 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.5768, allocations: 143.6 kB / 0.6254 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.577, allocations: 112.7 kB / 0.6255 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.5771, allocations: 55.97 kB / 0.6256 GB, free: 2.008 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.5789, allocations: 1.213 MB / 0.6268 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.274e-06/0.5789, allocations: 0 / 0.6268 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.197/0.7759, allocations: 1.41 MB / 0.6281 GB, free: 144.4 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003866/0.7798, allocations: 1.36 MB / 0.6295 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003824/0.7836, allocations: 2.301 MB / 0.6317 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7837, allocations: 0.625 kB / 0.6317 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.7856, allocations: 1.384 MB / 0.6331 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/0.7893, allocations: 0.8653 MB / 0.6339 GB, free: 144.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00553/0.7949, allocations: 5.599 MB / 0.6394 GB, free: 141.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009825/0.7959, allocations: 1.701 MB / 0.641 GB, free: 141.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001934/0.7978, allocations: 0.9676 MB / 0.642 GB, free: 141 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.7981, allocations: 139.3 kB / 0.6421 GB, free: 141 MB / 494.1 MB Notification: Performance of SimCode: time 2.264e-06/0.7981, allocations: 0 / 0.6421 GB, free: 141 MB / 494.1 MB Notification: Performance of Templates: time 0.07704/0.8751, allocations: 65.18 MB / 0.7058 GB, free: 102.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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