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.0009876/0.0009876, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009749/0.0009749, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9362/0.9362, allocations: 177 MB / 204.8 MB, free: 5.566 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.2449/0.2449, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.843e-06/1.843e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.399e-05, allocations: 4.984 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002825/0.002849, allocations: 2.126 MB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.004491, allocations: 1.301 MB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.004597, allocations: 3.938 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.004893, allocations: 67.59 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.005058, allocations: 99.31 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.005659, allocations: 207.1 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.006048, allocations: 461.6 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.006102, allocations: 24.92 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.006363, allocations: 191.3 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.00652, allocations: 147.5 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.006546, allocations: 12 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.006856, allocations: 199.6 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.006944, allocations: 95.47 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.894e-05/0.007033, allocations: 103.6 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.00756, allocations: 482.2 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.007563, allocations: 4 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007564, allocations: 0 / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.007575, allocations: 0 / 384.3 MB, free: 12.56 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.0007104/0.008285, allocations: 0.7491 MB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.008319, allocations: 8.031 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.008572, allocations: 108.6 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.008806, allocations: 220.9 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.008827, allocations: 33.36 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.008863, allocations: 52.05 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.009303, allocations: 372.2 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.009315, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.009341, allocations: 16 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.009376, allocations: 20.98 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.009595, allocations: 149.9 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.01094, allocations: 1.142 MB / 387.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.01115, allocations: 153.2 kB / 387.3 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.906e-05/0.01123, allocations: 51.05 kB / 387.3 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.01126, allocations: 8 kB / 387.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.01128, allocations: 41.33 kB / 387.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.01128, allocations: 0 / 387.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003846/0.01167, allocations: 181.5 kB / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.01171, allocations: 110.9 kB / 387.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.01188, allocations: 304.2 kB / 388 MB, free: 8.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.0119, allocations: 25.7 kB / 388 MB, free: 8.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.01201, allocations: 279.1 kB / 388.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.01205, allocations: 71.47 kB / 388.3 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.01212, allocations: 75.34 kB / 388.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.01223, allocations: 0.504 MB / 388.9 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.913e-05/0.01231, allocations: 36.2 kB / 388.9 MB, free: 7.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.01243, allocations: 156.5 kB / 389.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.01266, allocations: 198.4 kB / 389.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01266, allocations: 4 kB / 389.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002936/0.01295, allocations: 217.4 kB / 389.5 MB, free: 6.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.01297, allocations: 8 kB / 389.5 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.824e-05/0.01301, allocations: 31.98 kB / 389.5 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.01302, allocations: 4 kB / 389.5 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01312, allocations: 23.98 kB / 389.6 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.01313, allocations: 11.88 kB / 389.6 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.01321, allocations: 23.94 kB / 389.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.01323, allocations: 12 kB / 389.6 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_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.0001177/0.01335, allocations: 188.9 kB / 389.8 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.01341, allocations: 31.92 kB / 389.8 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.01375, allocations: 230 kB / 390 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.01376, allocations: 4 kB / 390.1 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01376, allocations: 3.938 kB / 390.1 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01377, allocations: 0 / 390.1 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.0141, allocations: 304.5 kB / 390.4 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/0.01413, allocations: 31.98 kB / 390.4 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.01419, allocations: 23.98 kB / 390.4 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01419, allocations: 3.938 kB / 390.4 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.01421, allocations: 12 kB / 390.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.01421, allocations: 0 / 390.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01421, allocations: 0 / 390.4 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.01455, allocations: 0.5255 MB / 391 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.01457, allocations: 23.8 kB / 391 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.0146, allocations: 7.984 kB / 391 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.0147, allocations: 8 kB / 391 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.01477, allocations: 31.84 kB / 391 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.01478, allocations: 16 kB / 391 MB, free: 5.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.93e-05/0.01487, allocations: 193.1 kB / 391.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01487, allocations: 0 / 391.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003596/0.01523, allocations: 143.5 kB / 391.4 MB, free: 5.016 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.0002692/0.0155, allocations: 175 kB / 391.5 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000337/0.01584, allocations: 366.7 kB / 391.9 MB, free: 4.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01584, allocations: 4.688 kB / 391.9 MB, free: 4.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.01602, allocations: 302.9 kB / 392.2 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.01637, allocations: 45.95 kB / 392.2 MB, free: 4.016 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.01744, allocations: 0.6559 MB / 392.9 MB, free: 3.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.758e-05/0.01753, allocations: 131.7 kB / 393 MB, free: 3.168 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.246e-05/0.0176, allocations: 33.44 kB / 393.1 MB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.01764, allocations: 20.5 kB / 393.1 MB, free: 3.113 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01764, allocations: 4 kB / 393.1 MB, free: 3.109 MB / 362.7 MB Notification: Performance of Templates: time 0.008063/0.0257, allocations: 6.003 MB / 399.1 MB, free: 13.2 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.0623288000933826]