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_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.0008575/0.0008575, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008892/0.0008892, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8783/0.8783, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2553/0.2553, allocations: 34.25 MB / 294.9 MB, free: 0.7227 MB / 266.7 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_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.07e-05, allocations: 4.25 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.1707/0.1708, allocations: 1.676 MB / 443.9 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1719, allocations: 1.152 MB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.172, allocations: 3.938 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.1722, allocations: 35.03 kB / 445.1 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.1725, allocations: 73.8 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1727, allocations: 174 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1729, allocations: 158.8 kB / 445.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.1729, allocations: 8.594 kB / 445.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.173, allocations: 71.38 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.995e-05/0.1731, allocations: 80.97 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1731, allocations: 5.25 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.1733, allocations: 116.5 kB / 445.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.1733, allocations: 49.58 kB / 445.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.1734, allocations: 39.67 kB / 445.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.1736, allocations: 243.1 kB / 446.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1736, allocations: 3.938 kB / 446.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1736, allocations: 0 / 446.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1736, allocations: 0.9688 kB / 446.1 MB, free: 42.81 MB / 410.7 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.0004419/0.1741, allocations: 398.1 kB / 446.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1741, allocations: 8.688 kB / 446.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/0.1742, allocations: 53.14 kB / 446.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008319/0.175, allocations: 196.6 kB / 446.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.1752, allocations: 179.3 kB / 446.9 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1752, allocations: 9.219 kB / 446.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.1752, allocations: 12.47 kB / 446.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.1756, allocations: 358 kB / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1756, allocations: 192 / 447.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1756, allocations: 9.5 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.1756, allocations: 20.31 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.176, allocations: 360.2 kB / 447.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008288/0.1768, allocations: 0.7309 MB / 448.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.1772, allocations: 337.9 kB / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.1773, allocations: 120.9 kB / 448.8 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1774, allocations: 10.81 kB / 448.8 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.1774, allocations: 30.56 kB / 448.9 MB, free: 41.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1774, allocations: 112 / 448.9 MB, free: 41.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005827/0.178, allocations: 442 kB / 449.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.178, allocations: 51.41 kB / 449.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1781, allocations: 234.3 kB / 449.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1781, allocations: 25.7 kB / 449.6 MB, free: 41.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.1782, allocations: 119.7 kB / 449.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.1782, allocations: 48.58 kB / 449.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.1783, allocations: 57.62 kB / 449.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.1783, allocations: 330.2 kB / 450.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1784, allocations: 122.1 kB / 450.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.1786, allocations: 157.9 kB / 450.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.1789, allocations: 287.6 kB / 450.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1789, allocations: 2.844 kB / 450.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003929/0.1793, allocations: 353.3 kB / 451 MB, free: 40.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1793, allocations: 5.719 kB / 451 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1793, allocations: 2.562 kB / 451 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1793, allocations: 3.375 kB / 451.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/0.1898, allocations: 1.46 MB / 452.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/0.2069, allocations: 11.65 MB / 464.2 MB, free: 32.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.2072, allocations: 31.48 kB / 464.2 MB, free: 32.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2072, allocations: 12.17 kB / 464.2 MB, free: 32.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * 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.0001203/0.2073, allocations: 151.8 kB / 464.4 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.2073, allocations: 14.12 kB / 464.4 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.2074, allocations: 34.97 kB / 464.4 MB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2074, allocations: 7.516 kB / 464.4 MB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2074, allocations: 3.156 kB / 464.4 MB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2074, allocations: 0 / 464.4 MB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.2076, allocations: 238.1 kB / 464.6 MB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2076, allocations: 0 / 464.6 MB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01051/0.2181, allocations: 1.455 MB / 466.1 MB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2181, allocations: 0 / 466.1 MB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.2181, allocations: 16.69 kB / 466.1 MB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01716/0.2353, allocations: 11.66 MB / 477.8 MB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2353, allocations: 8.531 kB / 477.8 MB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.2358, allocations: 418.8 kB / 478.2 MB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.2358, allocations: 21.58 kB / 478.2 MB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.2358, allocations: 3.062 kB / 478.2 MB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2359, allocations: 21.94 kB / 478.2 MB, free: 23.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.2361, allocations: 54.39 kB / 478.3 MB, free: 23.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2362, allocations: 16.69 kB / 478.3 MB, free: 23.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.81e-05/0.2362, allocations: 169.6 kB / 478.5 MB, free: 23.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2362, allocations: 3.281 kB / 478.5 MB, free: 23.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005196/0.2368, allocations: 125.8 kB / 478.6 MB, free: 23.32 MB / 410.7 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 (13): * Single equations (assignments): 7 * 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.0005994/0.2374, allocations: 0.9691 MB / 479.6 MB, free: 22.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009094/0.2465, allocations: 1.404 MB / 481 MB, free: 22.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.2465, allocations: 0 / 481 MB, free: 22.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009205/0.2557, allocations: 1.274 MB / 482.2 MB, free: 22.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.256, allocations: 40.34 kB / 482.3 MB, free: 22.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.2592, allocations: 2.724 MB / 485 MB, free: 36.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.519e-05/0.2593, allocations: 125.8 kB / 485.1 MB, free: 36.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000119/0.2594, allocations: 57.14 kB / 485.2 MB, free: 36.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.2595, allocations: 54.95 kB / 485.2 MB, free: 36.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2595, allocations: 0 / 485.2 MB, free: 36.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.2823, allocations: 10.02 MB / 495.3 MB, free: 34.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.15, allocations: 13.5 kB / 495.3 MB, free: 34.29 MB / 426.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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: 10.208719350397587]