Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009246/0.0009247, allocations: 193.3 kB / 7.806 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.042/1.042, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 90.58 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1535/0.1535, allocations: 43.5 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.06e-06/5.08e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2153, allocations: 58.84 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.781/3.997, allocations: 2.765 GB / 3.23 GB, free: 88.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/3.997, allocations: 79.95 kB / 3.23 GB, free: 88.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.146/6.143, allocations: 0.8032 GB / 4.033 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001372/6.143, allocations: 44.31 kB / 4.033 GB, free: 45.97 MB / 0.5261 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.008862/6.152, allocations: 3.002 MB / 4.036 GB, free: 44.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/6.152, allocations: 10.34 kB / 4.036 GB, free: 44.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0066/6.158, allocations: 0.9138 MB / 4.037 GB, free: 44.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/6.161, allocations: 1.109 MB / 4.038 GB, free: 44.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/6.161, allocations: 399.6 kB / 4.039 GB, free: 43.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004775/6.162, allocations: 105.3 kB / 4.039 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003303/6.165, allocations: 1.907 MB / 4.041 GB, free: 43.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/6.168, allocations: 2.411 MB / 4.043 GB, free: 42.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/6.168, allocations: 11.44 kB / 4.043 GB, free: 42.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/6.169, allocations: 10.84 kB / 4.043 GB, free: 42.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.891e-05/6.169, allocations: 90 kB / 4.043 GB, free: 42.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/6.182, allocations: 16.73 MB / 4.059 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/6.182, allocations: 494.9 kB / 4.06 GB, free: 29.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/6.183, allocations: 389.1 kB / 4.06 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008128/6.184, allocations: 0.6852 MB / 4.061 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/6.184, allocations: 45.75 kB / 4.061 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 3.156e-06/6.184, allocations: 0 / 4.061 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=111): time 0.008357/6.192, allocations: 3.392 MB / 4.064 GB, free: 27.35 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/6.192, allocations: 171.9 kB / 4.064 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/6.193, allocations: 1.01 MB / 4.065 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/6.193, allocations: 27.52 kB / 4.065 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/6.194, allocations: 0.8581 MB / 4.066 GB, free: 26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000216/6.194, allocations: 389.3 kB / 4.067 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/6.194, allocations: 3.031 kB / 4.067 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001423/6.194, allocations: 456.4 kB / 4.067 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008109/6.195, allocations: 0.5511 MB / 4.068 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/6.196, allocations: 1.77 MB / 4.069 GB, free: 23.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/6.198, allocations: 0.9136 MB / 4.07 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/6.198, allocations: 13.03 kB / 4.07 GB, free: 22.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005838/6.204, allocations: 2.85 MB / 4.073 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/6.204, allocations: 5.125 kB / 4.073 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.531e-05/6.204, allocations: 46.44 kB / 4.073 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/6.205, allocations: 433.2 kB / 4.073 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/6.207, allocations: 0.5363 MB / 4.074 GB, free: 21.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/6.209, allocations: 2.838 MB / 4.077 GB, free: 19.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/6.211, allocations: 212.3 kB / 4.077 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/6.211, allocations: 143.6 kB / 4.077 GB, free: 19.48 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (source2.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],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,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 () * 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 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003712/6.211, allocations: 229.1 kB / 4.077 GB, free: 19.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/6.213, allocations: 0.571 MB / 4.078 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/6.218, allocations: 4.494 MB / 4.082 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-05/6.218, allocations: 42.3 kB / 4.082 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/6.218, allocations: 0 / 4.082 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/6.218, allocations: 12.66 kB / 4.082 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007232/6.225, allocations: 6.213 MB / 4.088 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/6.225, allocations: 9.875 kB / 4.088 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/6.226, allocations: 197.1 kB / 4.089 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/6.227, allocations: 423.6 kB / 4.089 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/6.227, allocations: 27.84 kB / 4.089 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/6.229, allocations: 2.935 MB / 4.092 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/6.229, allocations: 8.438 kB / 4.092 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005558/6.235, allocations: 4.751 MB / 4.097 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007542/6.236, allocations: 483.3 kB / 4.097 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/6.236, allocations: 12 kB / 4.097 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/6.237, allocations: 131.5 kB / 4.097 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/6.237, allocations: 113.9 kB / 4.097 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/6.237, allocations: 55.73 kB / 4.097 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0009736/6.238, allocations: 0.8704 MB / 4.098 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005854/6.244, allocations: 1.405 MB / 4.1 GB, free: 5.133 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,source1.medium.phase,source2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.004951/6.249, allocations: 2.287 MB / 4.102 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002885/6.252, allocations: 2.464 MB / 4.104 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/6.252, allocations: 0.625 kB / 4.104 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003181/6.255, allocations: 1.968 MB / 4.106 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/6.257, allocations: 0.5408 MB / 4.107 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005277/6.263, allocations: 3.812 MB / 4.11 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/6.264, allocations: 1.78 MB / 4.112 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/6.264, allocations: 0 / 4.112 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of Templates: time 0.2674/6.532, allocations: 56.29 MB / 4.167 GB, free: 96.95 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches