Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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.001388/0.001388, 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.001424/0.001424, 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.455/1.455, 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.2326/0.2326, allocations: 46.93 MB / 357.1 MB, free: 10.3 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.Plate.kc_overall,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 75.89 kB / 0.491 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1348, allocations: 65.99 MB / 0.5554 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.003556/0.1383, allocations: 1.839 MB / 0.5572 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.1408, allocations: 1.538 MB / 0.5587 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1409, allocations: 11.94 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1412, allocations: 35.77 kB / 0.5587 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.1415, allocations: 67.66 kB / 0.5588 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.1422, allocations: 257.9 kB / 0.559 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.1425, allocations: 211.2 kB / 0.5592 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.1426, allocations: 9.562 kB / 0.5593 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.1428, allocations: 103.6 kB / 0.5594 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.143, allocations: 103.6 kB / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.143, allocations: 8 kB / 0.5595 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.1435, allocations: 227.6 kB / 0.5597 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.1436, allocations: 55.8 kB / 0.5597 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1437, allocations: 83.52 kB / 0.5598 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.1442, allocations: 322.7 kB / 0.5601 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1442, allocations: 0 / 0.5601 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1442, allocations: 0 / 0.5601 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1442, allocations: 0 / 0.5601 GB, free: 0.9258 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001214/0.1454, allocations: 0.549 MB / 0.5607 GB, free: 332 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1454, allocations: 8.031 kB / 0.5607 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.131e-05/0.1455, allocations: 46.75 kB / 0.5607 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.1459, allocations: 60.69 kB / 0.5608 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1462, allocations: 232 kB / 0.561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1462, allocations: 12.59 kB / 0.561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.1462, allocations: 8.375 kB / 0.561 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.1468, allocations: 270.8 kB / 0.5613 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1468, allocations: 0 / 0.5613 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1468, allocations: 0 / 0.5613 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.1469, allocations: 24.16 kB / 0.5613 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/0.1474, allocations: 226.8 kB / 0.5615 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.1486, allocations: 0.8102 MB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.149, allocations: 187.7 kB / 0.5625 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.1493, allocations: 102.6 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.1494, allocations: 7.984 kB / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.1494, allocations: 34.56 kB / 0.5626 GB, free: 14.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1494, allocations: 0 / 0.5626 GB, free: 14.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001019/0.1504, allocations: 321.3 kB / 0.5629 GB, free: 13.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.1505, allocations: 102.8 kB / 0.563 GB, free: 13.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.1508, allocations: 265 kB / 0.5633 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.1508, allocations: 25.7 kB / 0.5633 GB, free: 13.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.151, allocations: 136 kB / 0.5634 GB, free: 13.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.151, allocations: 39.64 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.1511, allocations: 37.77 kB / 0.5635 GB, free: 13.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1513, allocations: 338.8 kB / 0.5638 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.1516, allocations: 87.91 kB / 0.5639 GB, free: 12.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.1519, allocations: 143.1 kB / 0.564 GB, free: 12.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/0.1524, allocations: 233.2 kB / 0.5643 GB, free: 12.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1524, allocations: 0 / 0.5643 GB, free: 12.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006972/0.1531, allocations: 277.2 kB / 0.5645 GB, free: 12.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1531, allocations: 8.156 kB / 0.5645 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.1532, allocations: 8 kB / 0.5645 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1532, allocations: 0 / 0.5645 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.1534, allocations: 47.95 kB / 0.5646 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1534, allocations: 0 / 0.5646 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.1536, allocations: 31.83 kB / 0.5646 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.1537, allocations: 15.92 kB / 0.5646 GB, free: 11.97 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001361/0.1538, allocations: 147.9 kB / 0.5648 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.1539, allocations: 23.86 kB / 0.5648 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.1544, allocations: 215.1 kB / 0.565 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1544, allocations: 4 kB / 0.565 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1544, allocations: 3.984 kB / 0.565 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1544, allocations: 7.938 kB / 0.565 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.1548, allocations: 253.5 kB / 0.5653 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.1548, allocations: 7.984 kB / 0.5653 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.155, allocations: 35.97 kB / 0.5653 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.155, allocations: 4 kB / 0.5653 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.155, allocations: 3.984 kB / 0.5653 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.155, allocations: 4 kB / 0.5653 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.155, allocations: 0 / 0.5653 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.1557, allocations: 485.7 kB / 0.5658 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.1558, allocations: 97 kB / 0.5659 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.1558, allocations: 0 / 0.5659 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.1561, allocations: 24.16 kB / 0.5659 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.1562, allocations: 11.92 kB / 0.5659 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.1562, allocations: 19.94 kB / 0.5659 GB, free: 10.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.1564, allocations: 192.4 kB / 0.5661 GB, free: 10.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1564, allocations: 3.938 kB / 0.5661 GB, free: 10.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000531/0.1569, allocations: 95.62 kB / 0.5662 GB, free: 10.26 MB / 430.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001302/0.1582, allocations: 1.113 MB / 0.5673 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007241/0.1589, allocations: 285 kB / 0.5676 GB, free: 8.824 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1589, allocations: 0 / 0.5676 GB, free: 8.824 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.1593, allocations: 177 kB / 0.5677 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.1598, allocations: 60.88 kB / 0.5678 GB, free: 8.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.1641, allocations: 2.842 MB / 0.5706 GB, free: 5.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.1645, allocations: 0.7436 MB / 0.5713 GB, free: 4.832 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.1646, allocations: 37.52 kB / 0.5713 GB, free: 4.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.1647, allocations: 59.42 kB / 0.5714 GB, free: 4.742 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1647, allocations: 0 / 0.5714 GB, free: 4.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03969/0.2044, allocations: 6.729 MB / 0.578 GB, free: 14.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.468/8.672, allocations: 6.312 kB / 0.578 GB, free: 14.17 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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: 11.802880314178765]