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.001622/0.001622, allocations: 117.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001799/0.001799, allocations: 204.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 75.81 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3799, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07489/0.4548, allocations: 75.44 MB / 0.6053 GB, free: 6.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03871/0.4936, allocations: 33.49 MB / 0.638 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.4957, allocations: 43.75 kB / 0.6381 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.4989, allocations: 1.045 MB / 0.6391 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01477/0.5137, allocations: 5.116 MB / 0.6441 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0175/0.5312, allocations: 6.327 MB / 0.6503 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007063/0.5383, allocations: 5.173 MB / 0.6553 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.5408, allocations: 1.336 MB / 0.6566 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/0.5523, allocations: 5.332 MB / 0.6618 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003195/0.5555, allocations: 1.58 MB / 0.6634 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008767/0.5564, allocations: 196 kB / 0.6636 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01611/0.5725, allocations: 7.231 MB / 0.6706 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.5739, allocations: 0.7247 MB / 0.6713 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002367/0.5763, allocations: 1.089 MB / 0.6724 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.5913, allocations: 6.703 MB / 0.6789 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.5914, allocations: 0 / 0.6789 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5914, allocations: 3.938 kB / 0.679 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001544/0.5915, allocations: 4 kB / 0.679 GB, free: 10.38 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.007782/0.5993, allocations: 2.798 MB / 0.6817 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.5994, allocations: 13.47 kB / 0.6817 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006668/0.606, allocations: 0.8104 MB / 0.6825 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.6083, allocations: 1.107 MB / 0.6836 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/0.6088, allocations: 465 kB / 0.684 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/0.6091, allocations: 176.1 kB / 0.6842 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007372/0.6165, allocations: 3.131 MB / 0.6872 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.853e-05/0.6166, allocations: 15.78 kB / 0.6873 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000301/0.6169, allocations: 76 kB / 0.6873 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.394e-05/0.617, allocations: 86.66 kB / 0.6874 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006808/0.6238, allocations: 2.699 MB / 0.69 GB, free: 14.59 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.0175/0.6413, allocations: 15.73 MB / 0.7054 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004521/0.6459, allocations: 1.379 MB / 0.7068 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.6472, allocations: 0.5347 MB / 0.7073 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/0.6483, allocations: 0.6947 MB / 0.708 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.6484, allocations: 51.55 kB / 0.708 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=101): time 2.735e-06/0.6484, allocations: 0 / 0.708 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117): time 0.01709/0.6655, allocations: 5.224 MB / 0.7131 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.911e-05/0.6656, allocations: 167.2 kB / 0.7133 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.6677, allocations: 1.465 MB / 0.7147 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.6679, allocations: 49.7 kB / 0.7147 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006763/0.6686, allocations: 0.936 MB / 0.7157 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.6689, allocations: 414.2 kB / 0.7161 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005785/0.6696, allocations: 459.9 kB / 0.7165 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.6697, allocations: 309 kB / 0.7168 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.6713, allocations: 0.6798 MB / 0.7175 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3341/1.005, allocations: 1.923 MB / 0.7193 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009419/1.015, allocations: 2.777 MB / 0.722 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/1.015, allocations: 10.84 kB / 0.7221 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.0113/1.026, allocations: 2.81 MB / 0.7248 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.516e-05/1.027, allocations: 24 kB / 0.7248 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.812e-05/1.027, allocations: 49.03 kB / 0.7249 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/1.029, allocations: 445.5 kB / 0.7253 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/1.032, allocations: 0.5219 MB / 0.7258 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/1.036, allocations: 2.738 MB / 0.7285 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/1.039, allocations: 142.4 kB / 0.7286 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004777/1.039, allocations: 144 kB / 0.7287 GB, free: 165.5 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.001552/1.041, allocations: 0.5339 MB / 0.7293 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006628/1.042, allocations: 180.7 kB / 0.7294 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/1.053, allocations: 4.952 MB / 0.7343 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-05/1.053, allocations: 46.73 kB / 0.7343 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.053, allocations: 0 / 0.7343 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/1.054, allocations: 7.875 kB / 0.7343 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/1.069, allocations: 7.11 MB / 0.7413 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.069, allocations: 3.5 kB / 0.7413 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/1.071, allocations: 262.1 kB / 0.7415 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/1.073, allocations: 430.5 kB / 0.7419 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/1.073, allocations: 29.95 kB / 0.742 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/1.076, allocations: 2.795 MB / 0.7447 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.076, allocations: 5.719 kB / 0.7447 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009911/1.086, allocations: 4.083 MB / 0.7487 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/1.087, allocations: 409.8 kB / 0.7491 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006147/1.087, allocations: 79.11 kB / 0.7492 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.089, allocations: 79.92 kB / 0.7492 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/1.09, allocations: 111.2 kB / 0.7493 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/1.09, allocations: 43.98 kB / 0.7494 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002622/1.093, allocations: 1.229 MB / 0.7506 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.22e-07/1.093, allocations: 0 / 0.7506 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006817/1.099, allocations: 1.407 MB / 0.752 GB, free: 150.4 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.005328/1.105, allocations: 1.382 MB / 0.7533 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00456/1.109, allocations: 2.242 MB / 0.7555 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.109, allocations: 1.438 kB / 0.7555 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/1.111, allocations: 1.354 MB / 0.7568 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.004157/1.116, allocations: 0.9462 MB / 0.7577 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005579/1.121, allocations: 4.712 MB / 0.7623 GB, free: 140 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/1.122, allocations: 1.64 MB / 0.7639 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/1.122, allocations: 159.4 kB / 0.7641 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/1.122, allocations: 4 kB / 0.7641 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.06857/1.191, allocations: 81.44 MB / 0.8436 GB, free: 56.69 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/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