Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 179.9 kB / 8.149 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 88.83 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2549/0.2549, allocations: 43.48 MB / 353.2 MB, free: 2.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.955e-06/8.095e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2735, allocations: 58.85 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.889/6.163, allocations: 2.765 GB / 3.23 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/6.163, allocations: 83.92 kB / 3.23 GB, free: 21.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.834/9.997, allocations: 0.8032 GB / 4.033 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001846/9.998, allocations: 47.23 kB / 4.033 GB, free: 42.89 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.01417/10.01, allocations: 3.002 MB / 4.036 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/10.01, allocations: 7.688 kB / 4.036 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/10.02, allocations: 0.9153 MB / 4.037 GB, free: 41.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004117/10.03, allocations: 1.115 MB / 4.038 GB, free: 41.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005374/10.03, allocations: 402 kB / 4.039 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007943/10.03, allocations: 101.4 kB / 4.039 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007243/10.04, allocations: 1.901 MB / 4.041 GB, free: 41.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009936/10.05, allocations: 2.419 MB / 4.043 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/10.05, allocations: 11.53 kB / 4.043 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006396/10.05, allocations: 11.86 kB / 4.043 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/10.05, allocations: 92.66 kB / 4.043 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03776/10.08, allocations: 16.71 MB / 4.059 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/10.09, allocations: 499.8 kB / 4.06 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/10.09, allocations: 386.6 kB / 4.06 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/10.09, allocations: 0.6841 MB / 4.061 GB, free: 27.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/10.09, allocations: 52.84 kB / 4.061 GB, free: 27.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 5.661e-06/10.09, allocations: 3.75 kB / 4.061 GB, free: 27.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=111): time 0.02369/10.11, allocations: 3.396 MB / 4.064 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/10.11, allocations: 166.5 kB / 4.064 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/10.12, allocations: 0.9936 MB / 4.065 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003268/10.12, allocations: 31.11 kB / 4.065 GB, free: 26.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005811/10.12, allocations: 0.8792 MB / 4.066 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005146/10.12, allocations: 396.6 kB / 4.067 GB, free: 25.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/10.12, allocations: 0 / 4.067 GB, free: 25.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000166/10.12, allocations: 407.3 kB / 4.067 GB, free: 25.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/10.12, allocations: 0.5518 MB / 4.068 GB, free: 25.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/10.12, allocations: 1.773 MB / 4.069 GB, free: 23.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/10.13, allocations: 0.9123 MB / 4.07 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-05/10.13, allocations: 11.56 kB / 4.07 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01105/10.14, allocations: 2.799 MB / 4.073 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/10.14, allocations: 7 kB / 4.073 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.287e-05/10.14, allocations: 42.44 kB / 4.073 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/10.14, allocations: 406.9 kB / 4.073 GB, free: 23.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/10.14, allocations: 0.5375 MB / 4.074 GB, free: 23.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/10.15, allocations: 2.83 MB / 4.077 GB, free: 21.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/10.15, allocations: 184.8 kB / 4.077 GB, free: 21.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/10.15, allocations: 145.1 kB / 4.077 GB, free: 21.68 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.volume2_1.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.volume2_2.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.volume1_1.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.volume1_2.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] 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.0006536/10.15, allocations: 159.3 kB / 4.077 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002511/10.15, allocations: 0.5678 MB / 4.078 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00909/10.16, allocations: 4.488 MB / 4.082 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.04e-05/10.16, allocations: 42.52 kB / 4.082 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/10.16, allocations: 0 / 4.082 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/10.16, allocations: 3.844 kB / 4.082 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/10.18, allocations: 6.23 MB / 4.088 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/10.18, allocations: 3.906 kB / 4.088 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/10.18, allocations: 191.7 kB / 4.088 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/10.18, allocations: 426.6 kB / 4.089 GB, free: 20.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/10.18, allocations: 21.64 kB / 4.089 GB, free: 20.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003222/10.18, allocations: 2.943 MB / 4.092 GB, free: 18.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/10.18, allocations: 5.438 kB / 4.092 GB, free: 18.26 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01021/10.19, allocations: 4.758 MB / 4.096 GB, free: 17.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/10.19, allocations: 489.2 kB / 4.097 GB, free: 17.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007387/10.2, allocations: 6.438 kB / 4.097 GB, free: 17.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002916/10.2, allocations: 137.3 kB / 4.097 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/10.2, allocations: 118.5 kB / 4.097 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/10.2, allocations: 59.69 kB / 4.097 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001894/10.2, allocations: 0.865 MB / 4.098 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008306/10.21, allocations: 1.403 MB / 4.099 GB, free: 16.89 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.01153/10.22, allocations: 2.283 MB / 4.102 GB, free: 16.53 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005721/10.23, allocations: 2.451 MB / 4.104 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/10.23, allocations: 1.562 kB / 4.104 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003967/10.23, allocations: 1.84 MB / 4.106 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005529/10.24, allocations: 0.5494 MB / 4.106 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/10.25, allocations: 3.87 MB / 4.11 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002236/10.25, allocations: 1.767 MB / 4.112 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of SimCode: time 2.014e-06/10.25, allocations: 2.688 kB / 4.112 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.1398/10.39, allocations: 78.39 MB / 4.188 GB, free: 11.22 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches