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.001412/0.001411, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2505/0.2505, allocations: 46.1 MB / 343.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 76.69 kB / 416.9 MB, free: 20.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1478, allocations: 62.44 MB / 479.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.3483/0.4961, allocations: 77.12 MB / 0.5434 GB, free: 224 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04663/0.5428, allocations: 34.77 MB / 0.5773 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/0.5462, allocations: 55.56 kB / 0.5774 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003557/0.5499, allocations: 0.9287 MB / 0.5783 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01628/0.5662, allocations: 4.317 MB / 0.5825 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02055/0.5868, allocations: 5.607 MB / 0.588 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009263/0.5961, allocations: 7.275 MB / 0.5951 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.5989, allocations: 1.156 MB / 0.5962 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01343/0.6124, allocations: 5.028 MB / 0.6011 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003589/0.616, allocations: 1.658 MB / 0.6028 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009742/0.617, allocations: 104 kB / 0.6029 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01761/0.6346, allocations: 7.095 MB / 0.6098 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001747/0.6364, allocations: 0.6387 MB / 0.6104 GB, free: 2.211 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003118/0.6396, allocations: 1.015 MB / 0.6114 GB, free: 1.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02066/0.6602, allocations: 6.606 MB / 0.6178 GB, free: 10.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.6603, allocations: 0 / 0.6178 GB, free: 10.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6603, allocations: 0 / 0.6178 GB, free: 10.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001538/0.6605, allocations: 4 kB / 0.6178 GB, free: 10.56 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.01031/0.6708, allocations: 2.81 MB / 0.6206 GB, free: 7.695 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.6709, allocations: 13.47 kB / 0.6206 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006852/0.6777, allocations: 0.8105 MB / 0.6214 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.6804, allocations: 1.045 MB / 0.6224 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004914/0.6809, allocations: 465 kB / 0.6229 GB, free: 5.266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005453/0.6814, allocations: 168.4 kB / 0.623 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007924/0.6894, allocations: 3.146 MB / 0.6261 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-05/0.6895, allocations: 19.8 kB / 0.6261 GB, free: 1.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000336/0.6898, allocations: 84 kB / 0.6262 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.6899, allocations: 82.66 kB / 0.6263 GB, free: 1.516 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006994/0.6969, allocations: 2.699 MB / 0.6289 GB, free: 14.81 MB / 478.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.01932/0.7163, allocations: 15.72 MB / 0.6443 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004422/0.7207, allocations: 1.375 MB / 0.6456 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.7221, allocations: 0.5461 MB / 0.6461 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.7233, allocations: 0.7025 MB / 0.6468 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.7234, allocations: 47.55 kB / 0.6469 GB, free: 11.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 3.938e-06/0.7234, allocations: 0 / 0.6469 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.01811/0.7415, allocations: 5.219 MB / 0.652 GB, free: 5.891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.7417, allocations: 167.2 kB / 0.6521 GB, free: 5.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.7444, allocations: 1.465 MB / 0.6536 GB, free: 4.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.7445, allocations: 49.7 kB / 0.6536 GB, free: 4.156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008571/0.7454, allocations: 0.9438 MB / 0.6545 GB, free: 3.199 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005081/0.7459, allocations: 410.3 kB / 0.6549 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006652/0.7466, allocations: 459.9 kB / 0.6554 GB, free: 2.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7467, allocations: 305.1 kB / 0.6556 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.7485, allocations: 0.6837 MB / 0.6563 GB, free: 1.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.7512, allocations: 1.918 MB / 0.6582 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/0.7557, allocations: 2.775 MB / 0.6609 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.474e-05/0.7557, allocations: 16 kB / 0.6609 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006394/0.7621, allocations: 2.815 MB / 0.6637 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.7622, allocations: 24 kB / 0.6637 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.748e-05/0.7623, allocations: 40 kB / 0.6637 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.7638, allocations: 443.7 kB / 0.6641 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.7655, allocations: 0.5186 MB / 0.6647 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.7679, allocations: 2.744 MB / 0.6673 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.7701, allocations: 207.8 kB / 0.6675 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/0.7704, allocations: 148 kB / 0.6677 GB, free: 4.367 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.001128/0.7715, allocations: 0.5396 MB / 0.6682 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004994/0.772, allocations: 173.9 kB / 0.6684 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008759/0.7808, allocations: 4.981 MB / 0.6732 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.908e-05/0.7809, allocations: 43.94 kB / 0.6733 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.7809, allocations: 0 / 0.6733 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.7809, allocations: 7.969 kB / 0.6733 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.7934, allocations: 7.123 MB / 0.6802 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.7934, allocations: 0 / 0.6802 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.7945, allocations: 255.8 kB / 0.6805 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.796, allocations: 435 kB / 0.6809 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.7961, allocations: 24 kB / 0.6809 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/0.7988, allocations: 2.799 MB / 0.6836 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.7988, allocations: 3.984 kB / 0.6837 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007355/0.8062, allocations: 4.084 MB / 0.6876 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.8073, allocations: 409.8 kB / 0.688 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005919/0.8079, allocations: 75.27 kB / 0.6881 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.8094, allocations: 127.7 kB / 0.6882 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/0.8097, allocations: 104.8 kB / 0.6883 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.8098, allocations: 47.92 kB / 0.6884 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002183/0.812, allocations: 1.229 MB / 0.6896 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.812, allocations: 4 kB / 0.6896 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005619/0.8176, allocations: 1.413 MB / 0.691 GB, free: 12.04 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.006175/0.8238, allocations: 1.377 MB / 0.6923 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005244/0.8291, allocations: 2.223 MB / 0.6945 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.8292, allocations: 4.438 kB / 0.6945 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002687/0.8318, allocations: 1.355 MB / 0.6958 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005062/0.8369, allocations: 0.8998 MB / 0.6967 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/0.8457, allocations: 5.607 MB / 0.7021 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1978/1.044, allocations: 1.642 MB / 0.7038 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002821/1.046, allocations: 0.9635 MB / 0.7047 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/1.047, allocations: 137.4 kB / 0.7048 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of SimCode: time 9.31e-07/1.047, allocations: 1.375 kB / 0.7048 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.08444/1.131, allocations: 66.08 MB / 0.7694 GB, free: 139.6 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","/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