Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.001802/0.001802, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.002435/0.002435, allocations: 214 kB / 23.74 MB, free: 4.66 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.56/1.56, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.224/0.224, allocations: 46.92 MB / 360.8 MB, free: 4.176 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 79.86 kB / 0.4962 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3663, allocations: 66.08 MB / 0.5608 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.004628/0.3709, allocations: 2.026 MB / 0.5627 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.373, allocations: 0.8617 MB / 0.5636 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.892e-05/0.3731, allocations: 0 / 0.5636 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.3734, allocations: 71.58 kB / 0.5636 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004732/0.3739, allocations: 119.4 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.3742, allocations: 75.72 kB / 0.5638 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005271/0.3748, allocations: 306.6 kB / 0.5641 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.079e-05/0.3748, allocations: 12.59 kB / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.3751, allocations: 135.3 kB / 0.5643 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.3755, allocations: 155.3 kB / 0.5644 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.3755, allocations: 8 kB / 0.5644 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.3759, allocations: 127.8 kB / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.376, allocations: 75.66 kB / 0.5646 GB, free: 312 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.3762, allocations: 115.2 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000636/0.3768, allocations: 340.3 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3768, allocations: 0 / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3768, allocations: 0 / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3768, allocations: 0 / 0.5651 GB, free: 15.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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001187/0.378, allocations: 0.4975 MB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3781, allocations: 12.03 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.3782, allocations: 70.7 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.3783, allocations: 28.75 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.3787, allocations: 197.8 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3787, allocations: 12.66 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.3788, allocations: 27.98 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009213/0.3797, allocations: 393.9 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3797, allocations: 3.938 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.3797, allocations: 12 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.554e-05/0.3798, allocations: 36.56 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3809, allocations: 406.2 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.3828, allocations: 0.8416 MB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/0.3836, allocations: 270.3 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.3839, allocations: 92.77 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.384, allocations: 0 / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.384, allocations: 34.56 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.384, allocations: 0 / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.001059/0.3851, allocations: 345.1 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.3851, allocations: 51.41 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005383/0.3856, allocations: 348.5 kB / 0.5686 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.3857, allocations: 29.7 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.3858, allocations: 164.3 kB / 0.5688 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/0.3859, allocations: 59.59 kB / 0.5688 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.386, allocations: 45.7 kB / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.3862, allocations: 346.8 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.3865, allocations: 95.89 kB / 0.5693 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.3869, allocations: 141.8 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.3875, allocations: 248 kB / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3875, allocations: 0 / 0.5697 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008322/0.3884, allocations: 305.1 kB / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3884, allocations: 4 kB / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3884, allocations: 7.984 kB / 0.57 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3884, allocations: 4 kB / 0.57 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007883/0.3892, allocations: 111.9 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.3926, allocations: 3.669 MB / 0.5737 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.3929, allocations: 35.72 kB / 0.5737 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.3929, allocations: 8 kB / 0.5737 GB, free: 6.613 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002989/0.3932, allocations: 182.1 kB / 0.5739 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/0.3933, allocations: 27.8 kB / 0.5739 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.3944, allocations: 337.6 kB / 0.5742 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3944, allocations: 0 / 0.5742 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3944, allocations: 0 / 0.5742 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.3944, allocations: 8 kB / 0.5742 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.395, allocations: 268.6 kB / 0.5745 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.395, allocations: 7.938 kB / 0.5745 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007744/0.3957, allocations: 103.9 kB / 0.5746 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.3958, allocations: 4 kB / 0.5746 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.3958, allocations: 7.984 kB / 0.5746 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.3991, allocations: 3.665 MB / 0.5782 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3991, allocations: 0 / 0.5782 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.4, allocations: 359.3 kB / 0.5785 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4001, allocations: 27.78 kB / 0.5786 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/0.4001, allocations: 8 kB / 0.5786 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.4004, allocations: 7.938 kB / 0.5786 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.4005, allocations: 15.97 kB / 0.5786 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.4005, allocations: 8 kB / 0.5786 GB, free: 1.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004617/0.401, allocations: 259 kB / 0.5788 GB, free: 1.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.401, allocations: 0 / 0.5788 GB, free: 1.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006662/0.4017, allocations: 75.83 kB / 0.5789 GB, free: 1.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/0.4032, allocations: 0.9138 MB / 0.5798 GB, free: 136 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.4047, allocations: 299.6 kB / 0.5801 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4047, allocations: 0 / 0.5801 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.4057, allocations: 192.1 kB / 0.5803 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007226/0.4064, allocations: 60.39 kB / 0.5803 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007086/0.4135, allocations: 3.4 MB / 0.5837 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/0.4142, allocations: 0.7987 MB / 0.5844 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002831/0.4145, allocations: 66.22 kB / 0.5845 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.4146, allocations: 83.34 kB / 0.5846 GB, free: 11.1 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4146, allocations: 0 / 0.5846 GB, free: 11.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04585/0.4605, allocations: 8.724 MB / 0.5931 GB, free: 2.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.06, allocations: 14.55 kB / 0.5931 GB, free: 2.531 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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: 16.301244948990643]