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.001199/0.001199, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.611/1.611, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2525/0.2525, allocations: 45.91 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 63.47 MB / 481.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3129/0.4335, allocations: 63.51 MB / 0.5321 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03929/0.4728, allocations: 28.5 MB / 0.56 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.4757, allocations: 47.59 kB / 0.56 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.4794, allocations: 0.9092 MB / 0.5609 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01547/0.4949, allocations: 4.015 MB / 0.5648 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01753/0.5125, allocations: 5.308 MB / 0.57 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006476/0.519, allocations: 3.004 MB / 0.5729 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.5216, allocations: 1.084 MB / 0.574 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01483/0.5365, allocations: 7.2 MB / 0.581 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003084/0.5396, allocations: 1.051 MB / 0.5821 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006986/0.5404, allocations: 100 kB / 0.5822 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01877/0.5592, allocations: 7.004 MB / 0.589 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001655/0.5609, allocations: 0.5844 MB / 0.5896 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.5621, allocations: 404.8 kB / 0.5899 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.5736, allocations: 4.595 MB / 0.5944 GB, free: 5.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5736, allocations: 0 / 0.5944 GB, free: 5.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5736, allocations: 4 kB / 0.5944 GB, free: 5.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.793e-05/0.5737, allocations: 0 / 0.5944 GB, free: 5.859 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.007599/0.5813, allocations: 2.468 MB / 0.5969 GB, free: 3.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5814, allocations: 16.02 kB / 0.5969 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006463/0.5878, allocations: 0.8447 MB / 0.5977 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.5905, allocations: 1.025 MB / 0.5987 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004071/0.5909, allocations: 460.3 kB / 0.5991 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/0.5912, allocations: 175.9 kB / 0.5993 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006982/0.5982, allocations: 3.181 MB / 0.6024 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.712e-05/0.5983, allocations: 15.88 kB / 0.6024 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.5985, allocations: 83.98 kB / 0.6025 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.34e-05/0.5986, allocations: 82.67 kB / 0.6026 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006904/0.6055, allocations: 2.797 MB / 0.6053 GB, free: 10.29 MB / 446.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.01851/0.6241, allocations: 15.8 MB / 0.6207 GB, free: 9.402 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/0.6286, allocations: 1.468 MB / 0.6222 GB, free: 7.926 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.6298, allocations: 0.722 MB / 0.6229 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.6299, allocations: 43.56 kB / 0.6229 GB, free: 7.043 MB / 462.1 MB Notification: Performance of pre-optimization done (n=101): time 2.855e-06/0.6299, allocations: 0 / 0.6229 GB, free: 7.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=117): time 0.01717/0.6471, allocations: 5.5 MB / 0.6283 GB, free: 1.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.6472, allocations: 171.2 kB / 0.6285 GB, free: 1.262 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.6491, allocations: 1.445 MB / 0.6299 GB, free: 15.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.6493, allocations: 45.7 kB / 0.6299 GB, free: 15.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/0.65, allocations: 0.9361 MB / 0.6308 GB, free: 14.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.6503, allocations: 418.2 kB / 0.6312 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.6504, allocations: 48 kB / 0.6313 GB, free: 14.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.6506, allocations: 402.5 kB / 0.6316 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.6524, allocations: 0.711 MB / 0.6323 GB, free: 13.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002474/0.6548, allocations: 1.946 MB / 0.6342 GB, free: 10.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.657, allocations: 1.034 MB / 0.6353 GB, free: 9.633 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/0.657, allocations: 23.95 kB / 0.6353 GB, free: 9.609 MB / 478.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005663/0.6627, allocations: 2.878 MB / 0.6381 GB, free: 6.711 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.6628, allocations: 23.95 kB / 0.6381 GB, free: 6.688 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.511e-05/0.6628, allocations: 48.12 kB / 0.6382 GB, free: 6.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.6641, allocations: 439.1 kB / 0.6386 GB, free: 6.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.6659, allocations: 0.5498 MB / 0.6391 GB, free: 5.648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.6682, allocations: 2.744 MB / 0.6418 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.6703, allocations: 223.6 kB / 0.642 GB, free: 2.582 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.6705, allocations: 140 kB / 0.6421 GB, free: 2.445 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.0008535/0.6714, allocations: 0.5435 MB / 0.6427 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.6716, allocations: 173.9 kB / 0.6428 GB, free: 1.719 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007064/0.6787, allocations: 5.09 MB / 0.6478 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.005e-05/0.6788, allocations: 55.88 kB / 0.6479 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.6788, allocations: 0 / 0.6479 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.6788, allocations: 3.984 kB / 0.6479 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.6897, allocations: 7.216 MB / 0.6549 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.6897, allocations: 4 kB / 0.6549 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.6908, allocations: 303.9 kB / 0.6552 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.6922, allocations: 435 kB / 0.6556 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.636e-05/0.6923, allocations: 31.98 kB / 0.6556 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.6946, allocations: 2.787 MB / 0.6584 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6946, allocations: 8.125 kB / 0.6584 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006498/0.7011, allocations: 4.353 MB / 0.6626 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.7024, allocations: 0.5593 MB / 0.6632 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.7026, allocations: 28 kB / 0.6632 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.7038, allocations: 143.7 kB / 0.6633 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.704, allocations: 112.8 kB / 0.6634 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.575e-05/0.7041, allocations: 43.98 kB / 0.6635 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00171/0.7058, allocations: 1.217 MB / 0.6647 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/0.7058, allocations: 0 / 0.6647 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004637/0.7105, allocations: 1.417 MB / 0.6661 GB, free: 9.371 MB / 0.4981 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 (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.005365/0.7159, allocations: 1.378 MB / 0.6674 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004862/0.7208, allocations: 2.301 MB / 0.6697 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.7208, allocations: 0.625 kB / 0.6697 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002554/0.7234, allocations: 1.382 MB / 0.671 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004604/0.728, allocations: 0.872 MB / 0.6719 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/0.736, allocations: 5.604 MB / 0.6773 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.7373, allocations: 1.699 MB / 0.679 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002375/0.7397, allocations: 0.9564 MB / 0.6799 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.7401, allocations: 139.4 kB / 0.6801 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of SimCode: time 1.212e-06/0.7401, allocations: 0 / 0.6801 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of Templates: time 0.2814/1.021, allocations: 65.26 MB / 0.7438 GB, free: 167.9 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches