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.001501/0.001501, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 46.11 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 72.55 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1268, allocations: 62.44 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3043/0.4312, allocations: 75.43 MB / 0.5431 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03758/0.4688, allocations: 33.49 MB / 0.5758 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.4709, allocations: 39.75 kB / 0.5758 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.4741, allocations: 1.041 MB / 0.5769 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01445/0.4885, allocations: 5.139 MB / 0.5819 GB, free: 340 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01741/0.506, allocations: 6.324 MB / 0.5881 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006991/0.513, allocations: 5.183 MB / 0.5931 GB, free: 4.824 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/0.5156, allocations: 1.326 MB / 0.5944 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01248/0.5281, allocations: 5.297 MB / 0.5996 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003186/0.5313, allocations: 1.592 MB / 0.6011 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009418/0.5323, allocations: 196 kB / 0.6013 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01558/0.5479, allocations: 7.087 MB / 0.6082 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.5493, allocations: 0.7247 MB / 0.609 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002421/0.5517, allocations: 1.097 MB / 0.61 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.5667, allocations: 6.665 MB / 0.6165 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5667, allocations: 0 / 0.6165 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5667, allocations: 0 / 0.6165 GB, free: 12.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001057/0.5668, allocations: 4 kB / 0.6165 GB, free: 12.71 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.007845/0.5747, allocations: 2.814 MB / 0.6193 GB, free: 9.844 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5747, allocations: 9.469 kB / 0.6193 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006542/0.5813, allocations: 0.8065 MB / 0.6201 GB, free: 9.027 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.5836, allocations: 1.053 MB / 0.6211 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000469/0.5841, allocations: 461 kB / 0.6215 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005087/0.5846, allocations: 168.4 kB / 0.6217 GB, free: 7.258 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007877/0.5925, allocations: 3.146 MB / 0.6248 GB, free: 3.855 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.894e-05/0.5926, allocations: 11.88 kB / 0.6248 GB, free: 3.844 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003559/0.593, allocations: 80 kB / 0.6249 GB, free: 3.766 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.5931, allocations: 78.66 kB / 0.6249 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00708/0.6002, allocations: 2.695 MB / 0.6276 GB, free: 0.9844 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.0195/0.6197, allocations: 15.77 MB / 0.643 GB, free: 116 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004521/0.6243, allocations: 1.386 MB / 0.6443 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.6256, allocations: 0.5539 MB / 0.6449 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.6268, allocations: 0.6946 MB / 0.6456 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.6269, allocations: 51.56 kB / 0.6456 GB, free: 13.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 4.117e-06/0.6269, allocations: 0 / 0.6456 GB, free: 13.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01849/0.6454, allocations: 5.209 MB / 0.6507 GB, free: 8.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.6456, allocations: 167.2 kB / 0.6508 GB, free: 7.816 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.6479, allocations: 1.461 MB / 0.6523 GB, free: 6.344 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.6481, allocations: 53.64 kB / 0.6523 GB, free: 6.285 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008039/0.6489, allocations: 0.9322 MB / 0.6532 GB, free: 5.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/0.6494, allocations: 422.2 kB / 0.6536 GB, free: 4.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006714/0.6501, allocations: 463.9 kB / 0.6541 GB, free: 4.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.6502, allocations: 305.1 kB / 0.6544 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.6519, allocations: 0.6759 MB / 0.655 GB, free: 3.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/0.6544, allocations: 1.93 MB / 0.6569 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004351/0.6588, allocations: 2.778 MB / 0.6596 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.341e-05/0.6588, allocations: 12 kB / 0.6596 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006184/0.665, allocations: 2.812 MB / 0.6624 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.6651, allocations: 26.5 kB / 0.6624 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-05/0.6652, allocations: 47.98 kB / 0.6625 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.6666, allocations: 435.5 kB / 0.6629 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.6684, allocations: 0.5264 MB / 0.6634 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.6707, allocations: 2.744 MB / 0.6661 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.6726, allocations: 135.9 kB / 0.6662 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002779/0.6729, allocations: 140 kB / 0.6663 GB, free: 6.562 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.001044/0.6739, allocations: 0.5396 MB / 0.6669 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004886/0.6744, allocations: 173.9 kB / 0.667 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007265/0.6817, allocations: 4.981 MB / 0.6719 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.571e-05/0.6818, allocations: 51.92 kB / 0.6719 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.6818, allocations: 0 / 0.6719 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.6818, allocations: 7.969 kB / 0.6719 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.6928, allocations: 7.115 MB / 0.6789 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.6929, allocations: 4 kB / 0.6789 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.694, allocations: 252 kB / 0.6791 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.6954, allocations: 442.9 kB / 0.6796 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.6955, allocations: 28 kB / 0.6796 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.6979, allocations: 2.795 MB / 0.6823 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/0.698, allocations: 7.984 kB / 0.6823 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006889/0.7049, allocations: 4.072 MB / 0.6863 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009169/0.7058, allocations: 417.8 kB / 0.6867 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004619/0.7063, allocations: 75.28 kB / 0.6868 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.7075, allocations: 83.91 kB / 0.6868 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.7078, allocations: 112.8 kB / 0.687 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.7079, allocations: 44.08 kB / 0.687 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002097/0.71, allocations: 1.229 MB / 0.6882 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.71, allocations: 0 / 0.6882 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005041/0.7151, allocations: 1.417 MB / 0.6896 GB, free: 14.26 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.005696/0.7208, allocations: 1.394 MB / 0.6909 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007369/0.7282, allocations: 2.496 MB / 0.6934 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/0.7283, allocations: 4.438 kB / 0.6934 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.731, allocations: 1.355 MB / 0.6947 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005389/0.7364, allocations: 0.9327 MB / 0.6956 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008558/0.745, allocations: 4.772 MB / 0.7003 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.7466, allocations: 1.636 MB / 0.7019 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/0.7472, allocations: 155.4 kB / 0.702 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of SimCode: time 1.583e-06/0.7472, allocations: 4 kB / 0.702 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of Templates: time 0.2851/1.032, allocations: 81.28 MB / 0.7814 GB, free: 126.5 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