Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001283/0.001283, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001415/0.001415, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.441/1.441, allocations: 230.3 MB / 258 MB, free: 8.195 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2274/0.2274, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 79.86 kB / 0.4972 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3962, allocations: 66.04 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.004191/0.4004, allocations: 2.125 MB / 0.5638 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.4026, allocations: 1.336 MB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.4027, allocations: 4 kB / 0.5651 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.403, allocations: 67.59 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.4032, allocations: 91.38 kB / 0.5652 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.4037, allocations: 210.8 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005035/0.4042, allocations: 438 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.952e-05/0.4043, allocations: 16.92 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.4045, allocations: 151.2 kB / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.4048, allocations: 179.1 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.4048, allocations: 12 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.4053, allocations: 275.5 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.4054, allocations: 91.52 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.4056, allocations: 154.9 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.4063, allocations: 0.5276 MB / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4063, allocations: 0 / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4063, allocations: 4 kB / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.4063, allocations: 0 / 0.5672 GB, free: 14.86 MB / 414.1 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.00115/0.4075, allocations: 0.6608 MB / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.4075, allocations: 8.031 kB / 0.5678 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.4079, allocations: 84.55 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.4083, allocations: 234.7 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.4083, allocations: 33 kB / 0.5682 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.4084, allocations: 36 kB / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/0.4093, allocations: 0.5535 MB / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4093, allocations: 0 / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.4093, allocations: 19.98 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.405e-05/0.4094, allocations: 24.98 kB / 0.5688 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008264/0.4102, allocations: 411.6 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.4121, allocations: 1.242 MB / 0.5704 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.4126, allocations: 267.6 kB / 0.5707 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.4129, allocations: 138.5 kB / 0.5708 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/0.413, allocations: 11.97 kB / 0.5708 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.413, allocations: 38.5 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.413, allocations: 0 / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001186/0.4142, allocations: 469.1 kB / 0.5713 GB, free: 10.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.4143, allocations: 102.8 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.4148, allocations: 0.5018 MB / 0.5719 GB, free: 9.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.4149, allocations: 25.7 kB / 0.5719 GB, free: 9.812 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.4151, allocations: 216.4 kB / 0.5721 GB, free: 9.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.4151, allocations: 67.42 kB / 0.5722 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.4152, allocations: 57.7 kB / 0.5722 GB, free: 9.465 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4154, allocations: 350.8 kB / 0.5726 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.4157, allocations: 132.1 kB / 0.5727 GB, free: 8.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.4161, allocations: 218.6 kB / 0.5729 GB, free: 8.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000729/0.4169, allocations: 360.9 kB / 0.5732 GB, free: 8.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4169, allocations: 0 / 0.5732 GB, free: 8.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008763/0.4177, allocations: 424.8 kB / 0.5736 GB, free: 7.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4178, allocations: 7.938 kB / 0.5736 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.435e-05/0.4178, allocations: 35.98 kB / 0.5737 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4178, allocations: 4 kB / 0.5737 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.418, allocations: 36.25 kB / 0.5737 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.418, allocations: 8 kB / 0.5737 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.4183, allocations: 59.64 kB / 0.5738 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.4183, allocations: 16 kB / 0.5738 GB, free: 7.758 MB / 414.1 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.0002177/0.4185, allocations: 201.6 kB / 0.574 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4186, allocations: 43.66 kB / 0.574 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007884/0.4194, allocations: 400.6 kB / 0.5744 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.4194, allocations: 4 kB / 0.5744 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.4194, allocations: 0 / 0.5744 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4194, allocations: 4 kB / 0.5744 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.42, allocations: 340.4 kB / 0.5747 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.823e-05/0.42, allocations: 31.98 kB / 0.5748 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.4202, allocations: 23.97 kB / 0.5748 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.4202, allocations: 11.94 kB / 0.5748 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.4202, allocations: 8 kB / 0.5748 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4202, allocations: 4 kB / 0.5748 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4202, allocations: 0 / 0.5748 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008717/0.4211, allocations: 0.5826 MB / 0.5754 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.4212, allocations: 43.69 kB / 0.5754 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.4213, allocations: 3.984 kB / 0.5754 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.4216, allocations: 23.97 kB / 0.5755 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.4216, allocations: 19.97 kB / 0.5755 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.4217, allocations: 8 kB / 0.5755 GB, free: 5.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000433/0.4221, allocations: 371 kB / 0.5758 GB, free: 5.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4221, allocations: 0 / 0.5758 GB, free: 5.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005647/0.4227, allocations: 127.7 kB / 0.576 GB, free: 5.469 MB / 414.1 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.0003247/0.423, allocations: 174.9 kB / 0.5761 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009143/0.4239, allocations: 0.5385 MB / 0.5767 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4239, allocations: 0 / 0.5767 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.4244, allocations: 383.5 kB / 0.577 GB, free: 4.262 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.425, allocations: 106.7 kB / 0.5771 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.4263, allocations: 0.7832 MB / 0.5779 GB, free: 3.344 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.4268, allocations: 0.8497 MB / 0.5787 GB, free: 2.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.427, allocations: 71.22 kB / 0.5788 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.4271, allocations: 23.44 kB / 0.5788 GB, free: 2.379 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4271, allocations: 0 / 0.5788 GB, free: 2.379 MB / 414.1 MB Notification: Performance of Templates: time 0.01365/0.4407, allocations: 7.771 MB / 0.5864 GB, free: 10.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.413414373062551]