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.001527/0.001527, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00207/0.002069, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1093, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2635/0.3728, allocations: 75.43 MB / 0.5438 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03632/0.4092, allocations: 33.5 MB / 0.5766 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.411, allocations: 43.75 kB / 0.5766 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.4138, allocations: 1.037 MB / 0.5776 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01352/0.4273, allocations: 5.119 MB / 0.5826 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01575/0.4431, allocations: 6.337 MB / 0.5888 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006726/0.4498, allocations: 5.178 MB / 0.5938 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/0.4523, allocations: 1.33 MB / 0.5951 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01208/0.4644, allocations: 5.292 MB / 0.6003 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.4671, allocations: 1.6 MB / 0.6019 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004409/0.4676, allocations: 196 kB / 0.6021 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0142/0.4818, allocations: 7.22 MB / 0.6091 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008216/0.4826, allocations: 0.7208 MB / 0.6098 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.4841, allocations: 1.101 MB / 0.6109 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.4973, allocations: 6.695 MB / 0.6174 GB, free: 11.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4973, allocations: 0 / 0.6174 GB, free: 11.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4974, allocations: 0 / 0.6174 GB, free: 11.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.4974, allocations: 0 / 0.6174 GB, free: 11.84 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.005539/0.5029, allocations: 2.798 MB / 0.6202 GB, free: 8.988 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.503, allocations: 13.47 kB / 0.6202 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006019/0.509, allocations: 0.8143 MB / 0.621 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.5111, allocations: 1.104 MB / 0.6221 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/0.5115, allocations: 457 kB / 0.6225 GB, free: 6.504 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.5118, allocations: 176.3 kB / 0.6227 GB, free: 6.332 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006253/0.518, allocations: 3.131 MB / 0.6257 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/0.5181, allocations: 11.88 kB / 0.6257 GB, free: 2.934 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.5183, allocations: 83.98 kB / 0.6258 GB, free: 2.852 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.5184, allocations: 82.7 kB / 0.6259 GB, free: 2.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006265/0.5247, allocations: 2.695 MB / 0.6285 GB, free: 68 kB / 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.0161/0.5408, allocations: 15.73 MB / 0.6439 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004054/0.5449, allocations: 1.383 MB / 0.6452 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.5461, allocations: 0.55 MB / 0.6458 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.5471, allocations: 0.6908 MB / 0.6464 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.5472, allocations: 47.56 kB / 0.6465 GB, free: 12.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.795e-06/0.5472, allocations: 0 / 0.6465 GB, free: 12.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01613/0.5633, allocations: 5.222 MB / 0.6516 GB, free: 7.141 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.563e-05/0.5634, allocations: 167.2 kB / 0.6517 GB, free: 6.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.5655, allocations: 1.461 MB / 0.6532 GB, free: 5.465 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.5656, allocations: 45.7 kB / 0.6532 GB, free: 5.414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007521/0.5663, allocations: 0.9438 MB / 0.6541 GB, free: 4.457 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/0.5667, allocations: 414.3 kB / 0.6545 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000562/0.5673, allocations: 459.8 kB / 0.655 GB, free: 3.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.5674, allocations: 309 kB / 0.6553 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.5688, allocations: 0.6759 MB / 0.6559 GB, free: 2.605 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/0.571, allocations: 1.926 MB / 0.6578 GB, free: 64 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003912/0.5749, allocations: 2.771 MB / 0.6605 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.95e-05/0.575, allocations: 12 kB / 0.6605 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005481/0.5805, allocations: 2.812 MB / 0.6633 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.5805, allocations: 23.94 kB / 0.6633 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.972e-05/0.5806, allocations: 47.98 kB / 0.6633 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.5819, allocations: 443.5 kB / 0.6638 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.5835, allocations: 0.5225 MB / 0.6643 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.5857, allocations: 2.74 MB / 0.6669 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.5873, allocations: 144.1 kB / 0.6671 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.5875, allocations: 139.9 kB / 0.6672 GB, free: 5.691 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.0008096/0.5884, allocations: 0.5469 MB / 0.6678 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/0.5887, allocations: 177.9 kB / 0.6679 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006484/0.5952, allocations: 4.946 MB / 0.6728 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-05/0.5953, allocations: 47.92 kB / 0.6728 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5953, allocations: 0 / 0.6728 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5953, allocations: 7.984 kB / 0.6728 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009508/0.6048, allocations: 7.109 MB / 0.6797 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.6049, allocations: 4 kB / 0.6798 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009743/0.6059, allocations: 259.8 kB / 0.68 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.6072, allocations: 439 kB / 0.6804 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.6073, allocations: 28 kB / 0.6804 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.6097, allocations: 2.791 MB / 0.6832 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.6097, allocations: 7.938 kB / 0.6832 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006023/0.6157, allocations: 4.078 MB / 0.6872 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008816/0.6166, allocations: 405.8 kB / 0.6875 GB, free: 420 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/0.617, allocations: 79.2 kB / 0.6876 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.6181, allocations: 87.92 kB / 0.6877 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.6183, allocations: 104.8 kB / 0.6878 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.454e-05/0.6184, allocations: 55.92 kB / 0.6879 GB, free: 92 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001688/0.6201, allocations: 1.232 MB / 0.6891 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6201, allocations: 0 / 0.6891 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004057/0.6242, allocations: 1.41 MB / 0.6904 GB, free: 13.43 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.004627/0.6288, allocations: 1.372 MB / 0.6918 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00433/0.6332, allocations: 2.25 MB / 0.694 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.6332, allocations: 4.438 kB / 0.694 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.6355, allocations: 1.351 MB / 0.6953 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/0.6396, allocations: 0.941 MB / 0.6962 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/0.6461, allocations: 4.643 MB / 0.7008 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.6474, allocations: 1.652 MB / 0.7024 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001974/0.6494, allocations: 0.9673 MB / 0.7033 GB, free: 148 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.6497, allocations: 139.4 kB / 0.7034 GB, free: 8 kB / 0.5294 GB Notification: Performance of SimCode: time 7.32e-07/0.6497, allocations: 0 / 0.7034 GB, free: 8 kB / 0.5294 GB Notification: Performance of Templates: time 0.2608/0.9105, allocations: 67.91 MB / 0.7698 GB, free: 139 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 -s gbode -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