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.001288/0.001288, allocations: 116.5 kB / 18.5 MB, free: 4.566 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.001343/0.001343, allocations: 212.9 kB / 21.46 MB, free: 1.605 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.422/1.422, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2261/0.2261, allocations: 46.9 MB / 357.4 MB, free: 10.49 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.002201/0.002201, allocations: 76.09 kB / 0.4913 GB, free: 26.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1263, allocations: 65.98 MB / 0.5557 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003531/0.1298, allocations: 2.027 MB / 0.5577 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1314, allocations: 0.8412 MB / 0.5585 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.1314, allocations: 3.938 kB / 0.5585 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.1317, allocations: 71.58 kB / 0.5586 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.1321, allocations: 127.4 kB / 0.5587 GB, free: 6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1323, allocations: 63.73 kB / 0.5588 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.1328, allocations: 310.6 kB / 0.5591 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.254e-05/0.1328, allocations: 24.41 kB / 0.5591 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.1331, allocations: 127.4 kB / 0.5592 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.1333, allocations: 159.2 kB / 0.5594 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.1333, allocations: 11.98 kB / 0.5594 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.1336, allocations: 123.8 kB / 0.5595 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1337, allocations: 71.67 kB / 0.5596 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.1338, allocations: 107.2 kB / 0.5597 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.1343, allocations: 350.7 kB / 0.56 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1343, allocations: 4 kB / 0.56 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1343, allocations: 0 / 0.56 GB, free: 4.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1343, allocations: 0 / 0.56 GB, free: 4.672 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.0009656/0.1353, allocations: 0.5727 MB / 0.5606 GB, free: 4.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1353, allocations: 8.031 kB / 0.5606 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.075e-05/0.1354, allocations: 70.72 kB / 0.5606 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.1354, allocations: 36.73 kB / 0.5607 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1358, allocations: 244.2 kB / 0.5609 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1358, allocations: 20.55 kB / 0.5609 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.1358, allocations: 24 kB / 0.5609 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.1365, allocations: 393.2 kB / 0.5613 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1365, allocations: 0 / 0.5613 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.1365, allocations: 11.98 kB / 0.5613 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/0.1366, allocations: 32.58 kB / 0.5614 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.1374, allocations: 410.3 kB / 0.5617 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.1388, allocations: 0.8739 MB / 0.5626 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.1394, allocations: 266.3 kB / 0.5629 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.1396, allocations: 100.7 kB / 0.563 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.1396, allocations: 0 / 0.563 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1397, allocations: 38.5 kB / 0.563 GB, free: 1.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.1397, allocations: 0 / 0.563 GB, free: 1.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007707/0.1404, allocations: 335.1 kB / 0.5633 GB, free: 1.094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.1405, allocations: 59.34 kB / 0.5634 GB, free: 1.023 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.1409, allocations: 347.3 kB / 0.5637 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1409, allocations: 29.7 kB / 0.5637 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.141, allocations: 164.4 kB / 0.5639 GB, free: 488 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.1411, allocations: 59.52 kB / 0.5639 GB, free: 428 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.1412, allocations: 45.7 kB / 0.564 GB, free: 376 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1414, allocations: 346.7 kB / 0.5643 GB, free: 20 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.1416, allocations: 91.91 kB / 0.5644 GB, free: 15.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.1418, allocations: 137.9 kB / 0.5645 GB, free: 15.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.1423, allocations: 251.4 kB / 0.5648 GB, free: 15.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1423, allocations: 0 / 0.5648 GB, free: 15.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005701/0.1428, allocations: 301.2 kB / 0.5651 GB, free: 15.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1428, allocations: 4 kB / 0.5651 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1429, allocations: 4 kB / 0.5651 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1429, allocations: 7.984 kB / 0.5651 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.1434, allocations: 111.8 kB / 0.5652 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.1457, allocations: 3.673 MB / 0.5688 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.1459, allocations: 31.77 kB / 0.5688 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.146, allocations: 8 kB / 0.5688 GB, free: 11.23 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.0002197/0.1462, allocations: 169.8 kB / 0.569 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.1462, allocations: 35.94 kB / 0.569 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007104/0.1469, allocations: 337 kB / 0.5693 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1469, allocations: 0 / 0.5693 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.147, allocations: 0 / 0.5693 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.147, allocations: 7.984 kB / 0.5693 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.1473, allocations: 301.4 kB / 0.5696 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.1473, allocations: 3.938 kB / 0.5696 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.1478, allocations: 108 kB / 0.5697 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1478, allocations: 3.984 kB / 0.5697 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.1478, allocations: 15.98 kB / 0.5697 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.1502, allocations: 3.672 MB / 0.5733 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1502, allocations: 3.938 kB / 0.5733 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.1507, allocations: 347.2 kB / 0.5737 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.1509, allocations: 108.8 kB / 0.5738 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.1509, allocations: 8 kB / 0.5738 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.151, allocations: 12.08 kB / 0.5738 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.1511, allocations: 11.98 kB / 0.5738 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1511, allocations: 8 kB / 0.5738 GB, free: 5.867 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002786/0.1514, allocations: 257.9 kB / 0.5741 GB, free: 5.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1514, allocations: 0 / 0.5741 GB, free: 5.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.1518, allocations: 75.81 kB / 0.5741 GB, free: 5.539 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.0009642/0.1527, allocations: 0.9083 MB / 0.575 GB, free: 4.605 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008545/0.1536, allocations: 294.5 kB / 0.5753 GB, free: 4.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1536, allocations: 3.938 kB / 0.5753 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000578/0.1542, allocations: 191.8 kB / 0.5755 GB, free: 4.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.1546, allocations: 60.78 kB / 0.5755 GB, free: 4.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.1592, allocations: 3.394 MB / 0.5788 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.1597, allocations: 0.8026 MB / 0.5796 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.1599, allocations: 62.22 kB / 0.5797 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.16, allocations: 79.41 kB / 0.5798 GB, free: 15.59 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.16, allocations: 0 / 0.5798 GB, free: 15.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.1947, allocations: 8.623 MB / 0.5882 GB, free: 7.195 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12, allocations: 5.016 kB / 0.5882 GB, free: 7.195 MB / 446.1 MB " [Timeout remaining time 648] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.179237708915025]