Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001423, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 166.1 kB / 24.82 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9693/0.9693, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] 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.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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 379.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.585e-05, allocations: 3.016 kB / 379.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.004125/0.004151, allocations: 2.113 MB / 381.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.005905, allocations: 1.293 MB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.006007, allocations: 0 / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.006275, allocations: 63.61 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.00645, allocations: 95.31 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.00703, allocations: 215 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.00747, allocations: 461.7 kB / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.959e-05/0.007529, allocations: 16.94 kB / 383.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.00783, allocations: 191.3 kB / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.008008, allocations: 147.5 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.008039, allocations: 12 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.00839, allocations: 203.6 kB / 384 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.008494, allocations: 95.48 kB / 384.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.008594, allocations: 95.64 kB / 384.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005625/0.009157, allocations: 486.2 kB / 384.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.009161, allocations: 0 / 384.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.009162, allocations: 8 kB / 384.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.009168, allocations: 0 / 384.7 MB, free: 12.35 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.0007945/0.009963, allocations: 0.7491 MB / 385.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.009999, allocations: 8.031 kB / 385.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002883/0.01029, allocations: 100.6 kB / 385.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.01052, allocations: 224.8 kB / 385.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.01055, allocations: 29.38 kB / 385.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.01059, allocations: 44.12 kB / 385.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.01102, allocations: 356.1 kB / 386.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.01103, allocations: 4 kB / 386.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.01106, allocations: 12 kB / 386.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.01108, allocations: 17 kB / 386.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.01126, allocations: 118.9 kB / 386.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.01241, allocations: 1.041 MB / 387.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.0126, allocations: 149.2 kB / 387.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.078e-05/0.01267, allocations: 50.98 kB / 387.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.01271, allocations: 23.05 kB / 387.6 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.01274, allocations: 41.38 kB / 387.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.01274, allocations: 0 / 387.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003796/0.01312, allocations: 161.5 kB / 387.8 MB, free: 9.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.01316, allocations: 106.8 kB / 387.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.01334, allocations: 296.1 kB / 388.2 MB, free: 8.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.01337, allocations: 29.7 kB / 388.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.0135, allocations: 287.1 kB / 388.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.01355, allocations: 67.56 kB / 388.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.01364, allocations: 71.28 kB / 388.6 MB, free: 8.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.01378, allocations: 0.5195 MB / 389.2 MB, free: 7.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.01386, allocations: 28.22 kB / 389.2 MB, free: 7.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.01398, allocations: 148.5 kB / 389.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.01421, allocations: 190.3 kB / 389.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01421, allocations: 0 / 389.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003195/0.01453, allocations: 205.5 kB / 389.7 MB, free: 6.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.01455, allocations: 8 kB / 389.7 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-05/0.01459, allocations: 31.98 kB / 389.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.01461, allocations: 4 kB / 389.8 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01472, allocations: 23.92 kB / 389.8 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.01472, allocations: 7.984 kB / 389.8 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01483, allocations: 23.89 kB / 389.8 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.01486, allocations: 19.98 kB / 389.8 MB, free: 6.84 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_1[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].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.000139/0.015, allocations: 173 kB / 390 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.01508, allocations: 31.89 kB / 390 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.01545, allocations: 211.3 kB / 390.2 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.01545, allocations: 4 kB / 390.2 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01546, allocations: 0 / 390.2 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01546, allocations: 7.875 kB / 390.3 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.01582, allocations: 221.1 kB / 390.5 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-05/0.01586, allocations: 31.98 kB / 390.5 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.756e-05/0.01592, allocations: 27.92 kB / 390.5 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.01593, allocations: 4 kB / 390.5 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.01594, allocations: 4 kB / 390.5 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01595, allocations: 4 kB / 390.5 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01595, allocations: 3.984 kB / 390.5 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.01629, allocations: 0.5231 MB / 391.1 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.01632, allocations: 27.73 kB / 391.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.01634, allocations: 7.984 kB / 391.1 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.01649, allocations: 8 kB / 391.1 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.01655, allocations: 27.97 kB / 391.1 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.01657, allocations: 11.94 kB / 391.2 MB, free: 5.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.131e-05/0.01666, allocations: 189.1 kB / 391.3 MB, free: 5.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01666, allocations: 0 / 391.3 MB, free: 5.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005029/0.01716, allocations: 143.5 kB / 391.5 MB, free: 5.145 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.0002962/0.01746, allocations: 179 kB / 391.7 MB, free: 4.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.01779, allocations: 363.3 kB / 392 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01779, allocations: 0 / 392 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.01797, allocations: 303 kB / 392.3 MB, free: 4.191 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.01841, allocations: 37.89 kB / 392.3 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.01957, allocations: 0.6482 MB / 393 MB, free: 3.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.01967, allocations: 135.7 kB / 393.1 MB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.889e-05/0.01974, allocations: 21.45 kB / 393.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.01996, allocations: 158.2 kB / 393.3 MB, free: 3.133 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01996, allocations: 0 / 393.3 MB, free: 3.133 MB / 362.7 MB Notification: Performance of Templates: time 0.00882/0.02878, allocations: 5.766 MB / 399.1 MB, free: 13.43 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.023604247253388]