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_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.001823/0.001823, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002458/0.002458, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2298/0.2298, allocations: 46.97 MB / 360.9 MB, free: 4.039 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_laminar,fileNamePrefix="ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 75.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.351, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003217/0.3542, allocations: 1.8 MB / 0.5624 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3559, allocations: 0.9357 MB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.3559, allocations: 4 kB / 0.5633 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.3562, allocations: 39.75 kB / 0.5633 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.3564, allocations: 67.59 kB / 0.5634 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.3568, allocations: 127.5 kB / 0.5635 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.3571, allocations: 211.2 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.3571, allocations: 13.55 kB / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.3573, allocations: 95.67 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.3575, allocations: 99.58 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.3575, allocations: 11.94 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.3578, allocations: 107.8 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.82e-05/0.3578, allocations: 51.81 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.729e-05/0.3579, allocations: 67.59 kB / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.3583, allocations: 245 kB / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3583, allocations: 0 / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3583, allocations: 4 kB / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3583, allocations: 0 / 0.5644 GB, free: 348 kB / 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.001062/0.3594, allocations: 473.3 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3594, allocations: 8.031 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.3595, allocations: 42.75 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.3598, allocations: 56.75 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.3601, allocations: 178.2 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3601, allocations: 8.609 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.3601, allocations: 16.36 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.3607, allocations: 266.7 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3607, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.3607, allocations: 4 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.3608, allocations: 16.22 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.3614, allocations: 224.4 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3626, allocations: 0.7626 MB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.363, allocations: 183.6 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.3633, allocations: 102.5 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.3633, allocations: 4 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.3633, allocations: 42.67 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.3633, allocations: 0 / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009268/0.3643, allocations: 313.4 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.3643, allocations: 114.8 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.3646, allocations: 260.9 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.3646, allocations: 33.64 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3647, allocations: 132 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.3648, allocations: 43.61 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.3649, allocations: 41.7 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.365, allocations: 334.8 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.3653, allocations: 91.95 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.3656, allocations: 136.3 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.3661, allocations: 232.8 kB / 0.5683 GB, free: 12.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3661, allocations: 0 / 0.5683 GB, free: 12.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006706/0.3668, allocations: 273.6 kB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3668, allocations: 6.438 kB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.3669, allocations: 19.92 kB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3669, allocations: 4 kB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3671, allocations: 35.91 kB / 0.5687 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3672, allocations: 4 kB / 0.5687 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.3674, allocations: 31.86 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.3674, allocations: 12.06 kB / 0.5687 GB, free: 11.62 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.0001439/0.3675, allocations: 141.8 kB / 0.5688 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.3676, allocations: 19.86 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.3681, allocations: 223.2 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3681, allocations: 0 / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.3681, allocations: 7.984 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3681, allocations: 0 / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.3685, allocations: 212.5 kB / 0.5693 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/0.3685, allocations: 15.94 kB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.3687, allocations: 35.97 kB / 0.5693 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3687, allocations: 0 / 0.5693 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.3688, allocations: 7.984 kB / 0.5693 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3688, allocations: 0 / 0.5693 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3688, allocations: 4 kB / 0.5693 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007364/0.3695, allocations: 493.6 kB / 0.5698 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.3696, allocations: 23.86 kB / 0.5698 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.3696, allocations: 0 / 0.5698 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.3698, allocations: 23.97 kB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.3699, allocations: 11.92 kB / 0.5699 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3699, allocations: 15.98 kB / 0.5699 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.3701, allocations: 188.5 kB / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3701, allocations: 0 / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004404/0.3706, allocations: 75.8 kB / 0.5701 GB, free: 10.08 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.001209/0.3718, allocations: 1.058 MB / 0.5712 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.3724, allocations: 280.8 kB / 0.5714 GB, free: 8.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3724, allocations: 0 / 0.5714 GB, free: 8.703 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.3728, allocations: 177.3 kB / 0.5716 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.3733, allocations: 44.3 kB / 0.5716 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.3775, allocations: 2.83 MB / 0.5744 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.3776, allocations: 131.4 kB / 0.5745 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.3778, allocations: 41.45 kB / 0.5746 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.3779, allocations: 51.42 kB / 0.5746 GB, free: 5.273 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3779, allocations: 0 / 0.5746 GB, free: 5.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.4113, allocations: 6.659 MB / 0.5811 GB, free: 14.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.48, allocations: 3.938 kB / 0.5811 GB, free: 14.79 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.628586777020246]