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.001178/0.001178, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 72.11 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3653, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07954/0.4449, allocations: 75.44 MB / 0.6053 GB, free: 6.055 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04503/0.49, allocations: 33.49 MB / 0.638 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/0.4931, allocations: 39.75 kB / 0.6381 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003888/0.4971, allocations: 1.041 MB / 0.6391 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01484/0.512, allocations: 5.145 MB / 0.6441 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01763/0.5296, allocations: 6.35 MB / 0.6503 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007329/0.537, allocations: 5.203 MB / 0.6554 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.5396, allocations: 1.328 MB / 0.6567 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/0.5524, allocations: 5.332 MB / 0.6619 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.5556, allocations: 1.588 MB / 0.6635 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009698/0.5566, allocations: 203.9 kB / 0.6637 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.5725, allocations: 7.227 MB / 0.6707 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.5739, allocations: 0.7208 MB / 0.6714 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002519/0.5765, allocations: 1.093 MB / 0.6725 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.5923, allocations: 6.699 MB / 0.679 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5924, allocations: 4 kB / 0.679 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5924, allocations: 0 / 0.679 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001131/0.5925, allocations: 0 / 0.679 GB, free: 10.35 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.008236/0.6008, allocations: 2.81 MB / 0.6818 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.6008, allocations: 9.469 kB / 0.6818 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006779/0.6076, allocations: 0.8143 MB / 0.6826 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.6103, allocations: 1.1 MB / 0.6836 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/0.6108, allocations: 465 kB / 0.6841 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005581/0.6114, allocations: 172.1 kB / 0.6843 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008211/0.6196, allocations: 3.135 MB / 0.6873 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.741e-05/0.6197, allocations: 15.78 kB / 0.6873 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000399/0.6202, allocations: 80 kB / 0.6874 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/0.6203, allocations: 82.72 kB / 0.6875 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007514/0.6278, allocations: 2.699 MB / 0.6901 GB, free: 14.55 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.0195/0.6474, allocations: 15.73 MB / 0.7055 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004496/0.6519, allocations: 1.387 MB / 0.7068 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.6533, allocations: 0.5308 MB / 0.7074 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.6544, allocations: 0.6947 MB / 0.708 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.6545, allocations: 51.55 kB / 0.7081 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=101): time 5.02e-06/0.6545, allocations: 7.984 kB / 0.7081 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117): time 0.01712/0.6717, allocations: 5.22 MB / 0.7132 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.6718, allocations: 167.2 kB / 0.7133 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.674, allocations: 1.457 MB / 0.7148 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.6742, allocations: 49.7 kB / 0.7148 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/0.6749, allocations: 0.936 MB / 0.7157 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.6754, allocations: 418.2 kB / 0.7161 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006523/0.676, allocations: 459.9 kB / 0.7166 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6761, allocations: 305.1 kB / 0.7169 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.6777, allocations: 0.6759 MB / 0.7175 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2913/0.969, allocations: 1.926 MB / 0.7194 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004782/0.9738, allocations: 2.777 MB / 0.7221 GB, free: 169 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-05/0.9739, allocations: 16 kB / 0.7221 GB, free: 169 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.00544/0.9793, allocations: 2.815 MB / 0.7249 GB, free: 168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.9794, allocations: 23.75 kB / 0.7249 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-05/0.9795, allocations: 45.66 kB / 0.7249 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.9809, allocations: 435 kB / 0.7254 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.9825, allocations: 0.5226 MB / 0.7259 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.9842, allocations: 2.745 MB / 0.7285 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.9859, allocations: 144.4 kB / 0.7287 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.9861, allocations: 136.4 kB / 0.7288 GB, free: 165.4 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.0008069/0.9869, allocations: 0.5392 MB / 0.7293 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.9872, allocations: 175.3 kB / 0.7295 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005998/0.9932, allocations: 4.945 MB / 0.7343 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-05/0.9933, allocations: 50.69 kB / 0.7344 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.9933, allocations: 5.5 kB / 0.7344 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.9933, allocations: 7.781 kB / 0.7344 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007834/1.001, allocations: 7.113 MB / 0.7413 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/1.001, allocations: 0 / 0.7413 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008947/1.002, allocations: 253.2 kB / 0.7416 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/1.003, allocations: 444 kB / 0.742 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/1.003, allocations: 31.16 kB / 0.742 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/1.005, allocations: 2.783 MB / 0.7448 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.005, allocations: 11.02 kB / 0.7448 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005157/1.01, allocations: 4.084 MB / 0.7488 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006885/1.011, allocations: 408.7 kB / 0.7491 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/1.011, allocations: 75.31 kB / 0.7492 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008717/1.012, allocations: 83.73 kB / 0.7493 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/1.012, allocations: 108.7 kB / 0.7494 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/1.012, allocations: 47.98 kB / 0.7494 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001339/1.014, allocations: 1.229 MB / 0.7506 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.014, allocations: 4 kB / 0.7507 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004192/1.018, allocations: 1.401 MB / 0.752 GB, free: 150.3 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.004287/1.022, allocations: 1.383 MB / 0.7534 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004157/1.026, allocations: 2.246 MB / 0.7556 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.026, allocations: 4.438 kB / 0.7556 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/1.028, allocations: 1.347 MB / 0.7569 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/1.032, allocations: 0.9491 MB / 0.7578 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/1.038, allocations: 4.706 MB / 0.7624 GB, free: 140 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/1.039, allocations: 1.644 MB / 0.764 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.04, allocations: 155.4 kB / 0.7642 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.133e-06/1.04, allocations: 0 / 0.7642 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.07647/1.116, allocations: 81.45 MB / 0.8437 GB, free: 56.68 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