Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.022/1.022, allocations: 177.1 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2746/0.2746, allocations: 32.8 MB / 294.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|m_flow.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|m_flow.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 376 MB, free: 4.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.947e-05, allocations: 2.312 kB / 376.1 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002776/0.002806, allocations: 2.133 MB / 378.2 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.00469, allocations: 1.289 MB / 379.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.004817, allocations: 7.938 kB / 379.5 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.00515, allocations: 63.59 kB / 379.5 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.005322, allocations: 99.31 kB / 379.6 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.005921, allocations: 211.1 kB / 379.8 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.006318, allocations: 453.7 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.257e-05/0.006381, allocations: 20.94 kB / 380.3 MB, free: 224 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.006661, allocations: 195.3 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.006844, allocations: 147.5 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.006873, allocations: 12 kB / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.007165, allocations: 199.6 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.682e-05/0.007252, allocations: 91.55 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.007355, allocations: 111.6 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.00783, allocations: 482.2 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.007832, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007834, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.00784, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0007449/0.008585, allocations: 0.7491 MB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.008626, allocations: 12.03 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.008881, allocations: 104.6 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.009147, allocations: 228.9 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.009168, allocations: 29.36 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.009204, allocations: 44.06 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.009667, allocations: 384.2 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.009679, allocations: 0 / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.009702, allocations: 16 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.009736, allocations: 20.98 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.009938, allocations: 145.9 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.01098, allocations: 1.142 MB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.01119, allocations: 161.1 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.642e-05/0.01129, allocations: 51.05 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.01133, allocations: 8 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.01135, allocations: 41.33 kB / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.01135, allocations: 0 / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003871/0.01174, allocations: 177.6 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.01178, allocations: 107.1 kB / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.01197, allocations: 316.2 kB / 385.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.01199, allocations: 25.7 kB / 385.2 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.0121, allocations: 282.9 kB / 385.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.01213, allocations: 59.48 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.01221, allocations: 71.36 kB / 385.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.01233, allocations: 0.5118 MB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.01241, allocations: 32.22 kB / 386.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.01254, allocations: 152.5 kB / 386.3 MB, free: 9.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.01276, allocations: 203.3 kB / 386.5 MB, free: 9.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01276, allocations: 4 kB / 386.5 MB, free: 9.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000291/0.01305, allocations: 217.1 kB / 386.8 MB, free: 9.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.01307, allocations: 8 kB / 386.8 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.892e-05/0.01311, allocations: 28 kB / 386.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.01312, allocations: 4 kB / 386.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.01323, allocations: 27.97 kB / 386.8 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.01324, allocations: 11.88 kB / 386.8 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.01332, allocations: 24.28 kB / 386.9 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.01334, allocations: 16 kB / 386.9 MB, free: 9.266 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.01345, allocations: 184.9 kB / 387 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.0135, allocations: 23.86 kB / 387.1 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.01383, allocations: 227.3 kB / 387.3 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.01384, allocations: 7.984 kB / 387.3 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01384, allocations: 3.938 kB / 387.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01385, allocations: 4 kB / 387.3 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.01415, allocations: 308.5 kB / 387.6 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.667e-05/0.01425, allocations: 31.98 kB / 387.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.0143, allocations: 19.92 kB / 387.7 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.0143, allocations: 4 kB / 387.7 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.01432, allocations: 4 kB / 387.7 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01432, allocations: 4 kB / 387.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01432, allocations: 0 / 387.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.01466, allocations: 0.5332 MB / 388.2 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.01468, allocations: 23.8 kB / 388.2 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.0147, allocations: 8 kB / 388.2 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.01481, allocations: 15.98 kB / 388.3 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.01487, allocations: 27.84 kB / 388.3 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01488, allocations: 12 kB / 388.3 MB, free: 7.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.716e-05/0.01498, allocations: 197.1 kB / 388.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01498, allocations: 0 / 388.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.01533, allocations: 139.5 kB / 388.6 MB, free: 7.445 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002509/0.01558, allocations: 179 kB / 388.8 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.01591, allocations: 379.2 kB / 389.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01591, allocations: 0 / 389.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.01607, allocations: 298.9 kB / 389.5 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.0164, allocations: 36.48 kB / 389.5 MB, free: 6.445 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.01741, allocations: 0.6562 MB / 390.2 MB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.422e-05/0.0175, allocations: 131.7 kB / 390.3 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.528e-05/0.01756, allocations: 37.44 kB / 390.3 MB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.0176, allocations: 20.5 kB / 390.3 MB, free: 5.539 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0176, allocations: 0 / 390.3 MB, free: 5.539 MB / 362.7 MB Notification: Performance of Templates: time 0.007245/0.02485, allocations: 5.226 MB / 395.6 MB, free: 420 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4145981282927096]