Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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.001359/0.001359, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001463/0.001463, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2219/0.2219, allocations: 44.93 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 67.91 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3307, allocations: 65.46 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003238/0.334, allocations: 1.81 MB / 0.5588 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3357, allocations: 0.924 MB / 0.5597 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.3358, allocations: 3.938 kB / 0.5597 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.336, allocations: 39.75 kB / 0.5597 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.3362, allocations: 67.59 kB / 0.5598 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.3366, allocations: 135.5 kB / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.3369, allocations: 211.2 kB / 0.5601 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.337, allocations: 9.547 kB / 0.5601 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.3372, allocations: 95.56 kB / 0.5602 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.3374, allocations: 103.6 kB / 0.5603 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.3374, allocations: 8 kB / 0.5603 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.3376, allocations: 103.9 kB / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.3377, allocations: 59.75 kB / 0.5605 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.761e-05/0.3378, allocations: 63.66 kB / 0.5605 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.3382, allocations: 245 kB / 0.5608 GB, free: 3.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3382, allocations: 0 / 0.5608 GB, free: 3.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3382, allocations: 7.938 kB / 0.5608 GB, free: 3.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3382, allocations: 0 / 0.5608 GB, free: 3.66 MB / 398.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.0009813/0.3392, allocations: 471.3 kB / 0.5612 GB, free: 3.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3392, allocations: 8.031 kB / 0.5612 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.3393, allocations: 46.73 kB / 0.5613 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.3396, allocations: 60.75 kB / 0.5613 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.3399, allocations: 174.2 kB / 0.5615 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3399, allocations: 12.61 kB / 0.5615 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.3399, allocations: 8.375 kB / 0.5615 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.3405, allocations: 266.7 kB / 0.5618 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3405, allocations: 8 kB / 0.5618 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.3405, allocations: 4 kB / 0.5618 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/0.3406, allocations: 20.16 kB / 0.5618 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006034/0.3412, allocations: 216.5 kB / 0.562 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.3424, allocations: 0.7587 MB / 0.5627 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.3428, allocations: 191.5 kB / 0.5629 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.3431, allocations: 98.67 kB / 0.563 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.3431, allocations: 7.938 kB / 0.563 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.3431, allocations: 42.55 kB / 0.5631 GB, free: 1.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 4.258e-06/0.3431, allocations: 3.984 kB / 0.5631 GB, free: 1.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009697/0.3441, allocations: 317.2 kB / 0.5634 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.3442, allocations: 102.8 kB / 0.5635 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.3445, allocations: 264.9 kB / 0.5637 GB, free: 416 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.3445, allocations: 29.95 kB / 0.5637 GB, free: 380 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3446, allocations: 140 kB / 0.5639 GB, free: 236 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.3447, allocations: 39.62 kB / 0.5639 GB, free: 196 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/0.3448, allocations: 41.7 kB / 0.564 GB, free: 148 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.345, allocations: 330.8 kB / 0.5643 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.3453, allocations: 91.89 kB / 0.5644 GB, free: 15.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.3456, allocations: 133 kB / 0.5645 GB, free: 15.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.3461, allocations: 228.9 kB / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3461, allocations: 0 / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006918/0.3468, allocations: 281.5 kB / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3468, allocations: 6.594 kB / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.3469, allocations: 19.92 kB / 0.565 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3469, allocations: 0 / 0.565 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.3471, allocations: 36.12 kB / 0.565 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3471, allocations: 4 kB / 0.565 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3473, allocations: 35.86 kB / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.3474, allocations: 7.938 kB / 0.5651 GB, free: 14.95 MB / 414.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.0001483/0.3475, allocations: 141.8 kB / 0.5652 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.3476, allocations: 23.86 kB / 0.5652 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.3481, allocations: 219.2 kB / 0.5654 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3481, allocations: 4 kB / 0.5654 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3481, allocations: 4 kB / 0.5655 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3481, allocations: 4 kB / 0.5655 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.3485, allocations: 216.5 kB / 0.5657 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.3485, allocations: 8 kB / 0.5657 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.3487, allocations: 27.97 kB / 0.5657 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3487, allocations: 7.938 kB / 0.5657 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.3487, allocations: 7.984 kB / 0.5657 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3487, allocations: 0 / 0.5657 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3487, allocations: 0 / 0.5657 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000731/0.3495, allocations: 493.7 kB / 0.5662 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.3495, allocations: 27.86 kB / 0.5662 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.3496, allocations: 0 / 0.5662 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.3498, allocations: 23.97 kB / 0.5662 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.3499, allocations: 11.92 kB / 0.5662 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.3499, allocations: 11.98 kB / 0.5663 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.3501, allocations: 192.5 kB / 0.5664 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3501, allocations: 4 kB / 0.5664 GB, free: 13.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004297/0.3505, allocations: 71.8 kB / 0.5665 GB, free: 13.4 MB / 414.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.00119/0.3517, allocations: 1.054 MB / 0.5675 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.3524, allocations: 289 kB / 0.5678 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3524, allocations: 0 / 0.5678 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.3528, allocations: 176.9 kB / 0.568 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.3533, allocations: 44.55 kB / 0.568 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.3576, allocations: 2.822 MB / 0.5708 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3578, allocations: 135.4 kB / 0.5709 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.3579, allocations: 49.38 kB / 0.571 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.358, allocations: 51.42 kB / 0.571 GB, free: 8.582 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.358, allocations: 0 / 0.571 GB, free: 8.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.3929, allocations: 6.65 MB / 0.5775 GB, free: 2.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.68, allocations: 14.41 kB / 0.5775 GB, free: 2.105 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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: 14.73108157608658]