Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002444/0.002444, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 46.93 MB / 357.1 MB, free: 10.39 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_1_0_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_4_1_0_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.001943/0.001943, allocations: 68.09 kB / 0.491 GB, free: 8.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1236, allocations: 65.99 MB / 0.5554 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003316/0.1269, allocations: 2.023 MB / 0.5574 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1284, allocations: 0.8411 MB / 0.5582 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.1285, allocations: 4 kB / 0.5582 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.1287, allocations: 67.58 kB / 0.5583 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.1291, allocations: 127.4 kB / 0.5584 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1293, allocations: 63.73 kB / 0.5584 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000383/0.1297, allocations: 314.6 kB / 0.5587 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.924e-05/0.1298, allocations: 24.41 kB / 0.5588 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.13, allocations: 131.3 kB / 0.5589 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1302, allocations: 159.3 kB / 0.559 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1303, allocations: 8 kB / 0.5591 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.1305, allocations: 127.8 kB / 0.5592 GB, free: 2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1306, allocations: 75.62 kB / 0.5592 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1307, allocations: 119.2 kB / 0.5594 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.1312, allocations: 338.5 kB / 0.5597 GB, free: 1.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1312, allocations: 0 / 0.5597 GB, free: 1.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1312, allocations: 0 / 0.5597 GB, free: 1.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1312, allocations: 0 / 0.5597 GB, free: 1.477 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.0009191/0.1321, allocations: 0.5688 MB / 0.5602 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1321, allocations: 12.03 kB / 0.5602 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.279e-05/0.1322, allocations: 66.72 kB / 0.5603 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.1323, allocations: 32.75 kB / 0.5603 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.1326, allocations: 256.2 kB / 0.5606 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1326, allocations: 12.56 kB / 0.5606 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.1326, allocations: 24 kB / 0.5606 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006682/0.1333, allocations: 397.2 kB / 0.561 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1333, allocations: 0 / 0.561 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.1333, allocations: 12 kB / 0.561 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-05/0.1334, allocations: 28.7 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.1342, allocations: 410.2 kB / 0.5614 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.1356, allocations: 0.8777 MB / 0.5623 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.1362, allocations: 266.3 kB / 0.5625 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.1364, allocations: 94.88 kB / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.1364, allocations: 8.062 kB / 0.5626 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1364, allocations: 30.56 kB / 0.5627 GB, free: 14.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.1364, allocations: 0 / 0.5627 GB, free: 14.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007937/0.1372, allocations: 345.1 kB / 0.563 GB, free: 13.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1373, allocations: 51.41 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.1376, allocations: 347.3 kB / 0.5634 GB, free: 13.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1377, allocations: 33.64 kB / 0.5634 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1378, allocations: 164.3 kB / 0.5636 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.1379, allocations: 55.58 kB / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-05/0.1379, allocations: 45.7 kB / 0.5637 GB, free: 13.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1381, allocations: 342.8 kB / 0.564 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.1383, allocations: 95.91 kB / 0.5641 GB, free: 12.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.1386, allocations: 141.8 kB / 0.5642 GB, free: 12.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.139, allocations: 248.2 kB / 0.5645 GB, free: 12.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.139, allocations: 0 / 0.5645 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005941/0.1396, allocations: 305.1 kB / 0.5647 GB, free: 12.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1397, allocations: 8 kB / 0.5648 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1397, allocations: 0 / 0.5648 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1397, allocations: 4 kB / 0.5648 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.1402, allocations: 111.9 kB / 0.5649 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.1425, allocations: 3.676 MB / 0.5685 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.1427, allocations: 35.72 kB / 0.5685 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.1427, allocations: 11.98 kB / 0.5685 GB, free: 8.027 MB / 430.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.0002132/0.143, allocations: 181.6 kB / 0.5687 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.143, allocations: 31.75 kB / 0.5687 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/0.1437, allocations: 323.2 kB / 0.569 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1437, allocations: 0 / 0.569 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1437, allocations: 7.938 kB / 0.569 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1438, allocations: 0 / 0.569 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.1441, allocations: 305.5 kB / 0.5693 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1441, allocations: 7.938 kB / 0.5693 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.1446, allocations: 107.9 kB / 0.5694 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1446, allocations: 4 kB / 0.5694 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1447, allocations: 4 kB / 0.5694 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.147, allocations: 3.665 MB / 0.573 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.147, allocations: 0 / 0.573 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.1476, allocations: 361.6 kB / 0.5734 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.694e-05/0.1477, allocations: 109 kB / 0.5735 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.1477, allocations: 8 kB / 0.5735 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1479, allocations: 7.984 kB / 0.5735 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.148, allocations: 11.98 kB / 0.5735 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.148, allocations: 11.98 kB / 0.5735 GB, free: 2.676 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.1483, allocations: 253.9 kB / 0.5737 GB, free: 2.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1483, allocations: 0 / 0.5737 GB, free: 2.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003798/0.1486, allocations: 79.81 kB / 0.5738 GB, free: 2.348 MB / 430.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.001031/0.1497, allocations: 0.9073 MB / 0.5747 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009329/0.1506, allocations: 298.2 kB / 0.575 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1506, allocations: 0 / 0.575 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.1512, allocations: 188.2 kB / 0.5752 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.1516, allocations: 68.33 kB / 0.5752 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004628/0.1563, allocations: 3.382 MB / 0.5785 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.1567, allocations: 0.7987 MB / 0.5793 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000166/0.1569, allocations: 74.14 kB / 0.5794 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.157, allocations: 75.41 kB / 0.5795 GB, free: 12.41 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.157, allocations: 4 kB / 0.5795 GB, free: 12.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.1918, allocations: 8.61 MB / 0.5879 GB, free: 4.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.19, allocations: 15.08 kB / 0.5879 GB, free: 4.062 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.635634968988597]