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_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.001315/0.001315, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001466/0.001466, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2198/0.2198, allocations: 44.91 MB / 358.8 MB, free: 6.289 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_overall,fileNamePrefix="ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",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.002016/0.002016, allocations: 63.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3282, allocations: 65.46 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.003132/0.3313, allocations: 1.852 MB / 0.5589 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.3336, allocations: 1.558 MB / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.3336, allocations: 0 / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.3338, allocations: 35.75 kB / 0.5604 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.3341, allocations: 79.58 kB / 0.5605 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.3347, allocations: 251 kB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.335, allocations: 215.1 kB / 0.5609 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.335, allocations: 13.53 kB / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.3352, allocations: 95.62 kB / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3354, allocations: 107.6 kB / 0.5611 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.3354, allocations: 8 kB / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.3358, allocations: 231.6 kB / 0.5614 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.3359, allocations: 55.75 kB / 0.5614 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.009e-05/0.336, allocations: 79.53 kB / 0.5615 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.3364, allocations: 320.7 kB / 0.5618 GB, free: 2.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3364, allocations: 3.938 kB / 0.5618 GB, free: 2.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3364, allocations: 0 / 0.5618 GB, free: 2.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.3365, allocations: 0 / 0.5618 GB, free: 2.875 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.0009794/0.3374, allocations: 481.1 kB / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3375, allocations: 8.031 kB / 0.5623 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7e-05/0.3375, allocations: 46.73 kB / 0.5623 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.3379, allocations: 56.75 kB / 0.5624 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.3382, allocations: 174.2 kB / 0.5625 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3382, allocations: 16.61 kB / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.3382, allocations: 4.375 kB / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.3387, allocations: 278.7 kB / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3387, allocations: 0 / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.3388, allocations: 4 kB / 0.5628 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.3388, allocations: 16.23 kB / 0.5628 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005572/0.3393, allocations: 224.4 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.3405, allocations: 0.782 MB / 0.5638 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.3409, allocations: 195.6 kB / 0.564 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.3411, allocations: 98.48 kB / 0.5641 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.3412, allocations: 4 kB / 0.5641 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.3412, allocations: 34.69 kB / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3412, allocations: 0 / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009613/0.3421, allocations: 321.2 kB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.3422, allocations: 106.8 kB / 0.5645 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.3425, allocations: 265.1 kB / 0.5648 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3425, allocations: 25.7 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.777e-05/0.3426, allocations: 136 kB / 0.5649 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.3427, allocations: 43.62 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.807e-05/0.3427, allocations: 37.7 kB / 0.565 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3429, allocations: 334.8 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.3431, allocations: 96.27 kB / 0.5654 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.3434, allocations: 133 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.3439, allocations: 228.8 kB / 0.5658 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3439, allocations: 0 / 0.5658 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006266/0.3446, allocations: 277.2 kB / 0.566 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3446, allocations: 4 kB / 0.566 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.3446, allocations: 12 kB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3446, allocations: 4 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.3449, allocations: 39.89 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3449, allocations: 8.156 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.3451, allocations: 31.81 kB / 0.5661 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.3451, allocations: 15.94 kB / 0.5662 GB, free: 14.12 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.0001467/0.3452, allocations: 145.7 kB / 0.5663 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.3453, allocations: 19.86 kB / 0.5663 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.3458, allocations: 219.2 kB / 0.5665 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3458, allocations: 4 kB / 0.5665 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3458, allocations: 0 / 0.5665 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3458, allocations: 4 kB / 0.5665 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.3462, allocations: 228.5 kB / 0.5667 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.3462, allocations: 12 kB / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.3464, allocations: 27.97 kB / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3464, allocations: 3.938 kB / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.3464, allocations: 7.984 kB / 0.5668 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3464, allocations: 0 / 0.5668 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3464, allocations: 4.188 kB / 0.5668 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/0.3472, allocations: 489.6 kB / 0.5673 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.3472, allocations: 23.84 kB / 0.5673 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.3472, allocations: 8 kB / 0.5673 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.3475, allocations: 19.97 kB / 0.5673 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.3476, allocations: 19.92 kB / 0.5673 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3476, allocations: 7.984 kB / 0.5673 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.3478, allocations: 192.4 kB / 0.5675 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3478, allocations: 0 / 0.5675 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.3482, allocations: 87.7 kB / 0.5676 GB, free: 12.55 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.001291/0.3495, allocations: 1.117 MB / 0.5687 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007196/0.3503, allocations: 284.8 kB / 0.569 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3503, allocations: 0 / 0.569 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.3506, allocations: 181.4 kB / 0.5691 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.3511, allocations: 48.47 kB / 0.5692 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.3552, allocations: 2.845 MB / 0.572 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.3556, allocations: 0.7398 MB / 0.5727 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.3557, allocations: 41.44 kB / 0.5727 GB, free: 7.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.3558, allocations: 59.41 kB / 0.5728 GB, free: 7.031 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3558, allocations: 0 / 0.5728 GB, free: 7.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.3902, allocations: 6.884 MB / 0.5795 GB, free: 316 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.65, allocations: 10.28 kB / 0.5795 GB, free: 308 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 14.715103707043454]