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.001876/0.001876, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002286/0.002286, allocations: 214.6 kB / 23.73 MB, free: 4.16 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.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2209/0.2209, allocations: 46.96 MB / 360.8 MB, free: 3.914 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.002387/0.002387, allocations: 75.88 kB / 0.4962 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3538, allocations: 66.09 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003961/0.3578, allocations: 1.952 MB / 0.5626 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3594, allocations: 0.7722 MB / 0.5634 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.3594, allocations: 4 kB / 0.5634 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.3598, allocations: 63.61 kB / 0.5634 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.3602, allocations: 123.4 kB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.3605, allocations: 71.7 kB / 0.5636 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.3609, allocations: 306.6 kB / 0.5639 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.61e-05/0.3609, allocations: 12.59 kB / 0.5639 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.3612, allocations: 135.3 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.3614, allocations: 155.3 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.3615, allocations: 8 kB / 0.5642 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.3617, allocations: 79.88 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.3618, allocations: 67.69 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3619, allocations: 95.41 kB / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.3624, allocations: 340.3 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3624, allocations: 3.938 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3624, allocations: 0 / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3624, allocations: 4 kB / 0.5648 GB, free: 15.82 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.0008868/0.3633, allocations: 497.5 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3633, allocations: 8.031 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.17e-05/0.3634, allocations: 74.66 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.3635, allocations: 32.75 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.3638, allocations: 186.5 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.3638, allocations: 24.66 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.3639, allocations: 31.92 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.3646, allocations: 389.9 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3646, allocations: 0 / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.3646, allocations: 12 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.3647, allocations: 24.64 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.3654, allocations: 410.3 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.3668, allocations: 0.8105 MB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.3673, allocations: 259.3 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.3675, allocations: 88.77 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.3676, allocations: 15.92 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3676, allocations: 30.56 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.3676, allocations: 0 / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.000773/0.3684, allocations: 337.2 kB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.3684, allocations: 59.41 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.3688, allocations: 356.4 kB / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3688, allocations: 25.7 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.369, allocations: 172.3 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.369, allocations: 51.53 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.3691, allocations: 53.69 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3693, allocations: 342.8 kB / 0.5689 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.3695, allocations: 87.91 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.3697, allocations: 145.9 kB / 0.5691 GB, free: 11.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.3702, allocations: 248.4 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.3702, allocations: 4 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005612/0.3707, allocations: 301.1 kB / 0.5696 GB, free: 10.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3708, allocations: 4 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3708, allocations: 0 / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3708, allocations: 4 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.3713, allocations: 119.8 kB / 0.5698 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.3737, allocations: 3.676 MB / 0.5734 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.3738, allocations: 31.8 kB / 0.5734 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.3739, allocations: 12 kB / 0.5734 GB, free: 6.621 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.0001995/0.3741, allocations: 173 kB / 0.5736 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.3741, allocations: 35.75 kB / 0.5736 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006687/0.3748, allocations: 326.1 kB / 0.5739 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3748, allocations: 0 / 0.5739 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3748, allocations: 3.984 kB / 0.5739 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3748, allocations: 0 / 0.5739 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.3752, allocations: 256.6 kB / 0.5742 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3752, allocations: 3.938 kB / 0.5742 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004744/0.3756, allocations: 123.9 kB / 0.5743 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3756, allocations: 0 / 0.5743 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.3757, allocations: 4 kB / 0.5743 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/0.378, allocations: 3.669 MB / 0.5779 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.378, allocations: 0 / 0.5779 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.3786, allocations: 359.1 kB / 0.5782 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.3786, allocations: 27.75 kB / 0.5782 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.3787, allocations: 4 kB / 0.5782 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3788, allocations: 11.98 kB / 0.5783 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.3789, allocations: 11.97 kB / 0.5783 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3789, allocations: 12 kB / 0.5783 GB, free: 1.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000278/0.3792, allocations: 255.1 kB / 0.5785 GB, free: 1.172 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3792, allocations: 3.938 kB / 0.5785 GB, free: 1.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.3796, allocations: 71.88 kB / 0.5786 GB, free: 1.098 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.0009939/0.3805, allocations: 0.919 MB / 0.5795 GB, free: 156 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008859/0.3814, allocations: 298.5 kB / 0.5798 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3814, allocations: 0 / 0.5798 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005694/0.382, allocations: 196.2 kB / 0.58 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.3824, allocations: 68.33 kB / 0.58 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.387, allocations: 3.389 MB / 0.5833 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.3871, allocations: 197 kB / 0.5835 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.3873, allocations: 62.23 kB / 0.5836 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.3874, allocations: 75.41 kB / 0.5837 GB, free: 11.75 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3874, allocations: 0 / 0.5837 GB, free: 11.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.4277, allocations: 9.567 MB / 0.593 GB, free: 2.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.8, allocations: 10.98 kB / 0.593 GB, free: 2.398 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: 15.97439521132037]