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.001275/0.001275, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.635/1.635, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 80.2 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4441, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.07569/0.5199, allocations: 75.44 MB / 0.6047 GB, free: 6.027 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04784/0.5678, allocations: 33.49 MB / 0.6374 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00254/0.5704, allocations: 43.75 kB / 0.6374 GB, free: 4.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003614/0.5741, allocations: 1.041 MB / 0.6384 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01678/0.5909, allocations: 5.113 MB / 0.6434 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01927/0.6102, allocations: 6.334 MB / 0.6496 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008167/0.6184, allocations: 5.19 MB / 0.6547 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.6212, allocations: 1.324 MB / 0.656 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01366/0.6348, allocations: 5.293 MB / 0.6611 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003542/0.6384, allocations: 1.588 MB / 0.6627 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.6395, allocations: 196 kB / 0.6629 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01745/0.657, allocations: 7.235 MB / 0.6699 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.6581, allocations: 0.7169 MB / 0.6706 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.6599, allocations: 1.097 MB / 0.6717 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01601/0.6759, allocations: 6.72 MB / 0.6783 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.676, allocations: 0 / 0.6783 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.854e-06/0.676, allocations: 0 / 0.6783 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.878e-05/0.676, allocations: 0 / 0.6783 GB, free: 10.41 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.006462/0.6825, allocations: 2.889 MB / 0.6811 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.6825, allocations: 13.47 kB / 0.6811 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006043/0.6886, allocations: 0.8232 MB / 0.6819 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.6904, allocations: 1.108 MB / 0.683 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003643/0.6908, allocations: 465 kB / 0.6834 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.691, allocations: 172 kB / 0.6836 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006302/0.6974, allocations: 3.135 MB / 0.6867 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/0.6974, allocations: 11.88 kB / 0.6867 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.6976, allocations: 88 kB / 0.6868 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.702e-05/0.6977, allocations: 78.72 kB / 0.6868 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006296/0.704, allocations: 2.695 MB / 0.6895 GB, free: 14.51 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.0168/0.7208, allocations: 15.74 MB / 0.7048 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/0.7252, allocations: 1.391 MB / 0.7062 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.7266, allocations: 0.5347 MB / 0.7067 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/0.728, allocations: 0.7024 MB / 0.7074 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.059e-05/0.7281, allocations: 51.55 kB / 0.7075 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=101): time 3.417e-06/0.7281, allocations: 0 / 0.7075 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117): time 0.01747/0.7456, allocations: 5.245 MB / 0.7126 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.7457, allocations: 167.2 kB / 0.7127 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.7479, allocations: 1.458 MB / 0.7142 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.748, allocations: 49.7 kB / 0.7142 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008387/0.7488, allocations: 0.9668 MB / 0.7152 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.7492, allocations: 440.4 kB / 0.7156 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006383/0.7499, allocations: 468.2 kB / 0.716 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.75, allocations: 305.1 kB / 0.7163 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.7517, allocations: 0.6759 MB / 0.717 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2801/1.032, allocations: 1.925 MB / 0.7188 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004957/1.037, allocations: 2.773 MB / 0.7216 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.996e-05/1.037, allocations: 13.16 kB / 0.7216 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005706/1.043, allocations: 2.828 MB / 0.7243 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/1.043, allocations: 23.06 kB / 0.7244 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.783e-05/1.043, allocations: 46.88 kB / 0.7244 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/1.044, allocations: 433 kB / 0.7248 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/1.046, allocations: 0.5264 MB / 0.7253 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/1.048, allocations: 2.741 MB / 0.728 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/1.049, allocations: 145 kB / 0.7281 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/1.05, allocations: 143.2 kB / 0.7283 GB, free: 165.3 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.0007812/1.05, allocations: 0.5436 MB / 0.7288 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/1.051, allocations: 181.1 kB / 0.729 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006142/1.057, allocations: 4.963 MB / 0.7338 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/1.057, allocations: 47.41 kB / 0.7339 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.057, allocations: 0 / 0.7339 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/1.057, allocations: 7.688 kB / 0.7339 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008187/1.065, allocations: 7.113 MB / 0.7408 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.065, allocations: 1.469 kB / 0.7408 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009635/1.066, allocations: 260.6 kB / 0.7411 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/1.067, allocations: 432 kB / 0.7415 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/1.068, allocations: 28.98 kB / 0.7415 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/1.069, allocations: 2.789 MB / 0.7442 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.069, allocations: 4.016 kB / 0.7442 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005334/1.075, allocations: 4.101 MB / 0.7482 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006749/1.075, allocations: 421.4 kB / 0.7486 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/1.076, allocations: 72.89 kB / 0.7487 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008987/1.076, allocations: 91.55 kB / 0.7488 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/1.077, allocations: 112.4 kB / 0.7489 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.596e-05/1.077, allocations: 47.97 kB / 0.749 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001306/1.078, allocations: 1.236 MB / 0.7502 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.078, allocations: 0 / 0.7502 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00483/1.083, allocations: 1.413 MB / 0.7515 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.004538/1.087, allocations: 1.402 MB / 0.7529 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003986/1.091, allocations: 2.241 MB / 0.7551 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.091, allocations: 4.438 kB / 0.7551 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/1.093, allocations: 1.353 MB / 0.7564 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.004048/1.097, allocations: 0.9268 MB / 0.7573 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005618/1.103, allocations: 4.724 MB / 0.7619 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/1.104, allocations: 1.652 MB / 0.7636 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001731/1.106, allocations: 0.9719 MB / 0.7645 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/1.106, allocations: 143.4 kB / 0.7646 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/1.106, allocations: 0 / 0.7646 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.078/1.184, allocations: 68.54 MB / 0.8316 GB, free: 68.82 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches