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_turbulent.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.001643/0.001643, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002121/0.002121, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2247/0.2247, 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_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",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.00216/0.00216, allocations: 67.91 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3465, allocations: 65.47 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003153/0.3496, allocations: 1.807 MB / 0.5588 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.3513, allocations: 0.9357 MB / 0.5597 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.3513, allocations: 0 / 0.5597 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.3516, allocations: 43.77 kB / 0.5597 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.3518, allocations: 59.66 kB / 0.5598 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.3522, allocations: 151.4 kB / 0.5599 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.3525, allocations: 207.2 kB / 0.5601 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.3526, allocations: 13.53 kB / 0.5601 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.3528, allocations: 99.56 kB / 0.5602 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.3529, allocations: 99.58 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.353, allocations: 8 kB / 0.5603 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.3532, allocations: 107.9 kB / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.581e-05/0.3533, allocations: 51.75 kB / 0.5605 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.3534, allocations: 71.64 kB / 0.5605 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.3537, allocations: 256.9 kB / 0.5608 GB, free: 3.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3538, allocations: 0 / 0.5608 GB, free: 3.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3538, allocations: 4 kB / 0.5608 GB, free: 3.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3538, allocations: 4 kB / 0.5608 GB, free: 3.613 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.0009849/0.3547, allocations: 461.3 kB / 0.5612 GB, free: 3.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3548, allocations: 8.031 kB / 0.5612 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.677e-05/0.3549, allocations: 46.73 kB / 0.5613 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/0.3552, allocations: 64.75 kB / 0.5613 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.3555, allocations: 174.1 kB / 0.5615 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.3556, allocations: 12.61 kB / 0.5615 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.3556, allocations: 8.375 kB / 0.5615 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/0.3561, allocations: 262.8 kB / 0.5618 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3561, allocations: 4 kB / 0.5618 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.3562, allocations: 7.984 kB / 0.5618 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.3562, allocations: 12.23 kB / 0.5618 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005696/0.3568, allocations: 228.4 kB / 0.562 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.3579, allocations: 0.7586 MB / 0.5628 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.3583, allocations: 187.6 kB / 0.5629 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.3586, allocations: 110.4 kB / 0.5631 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.3586, allocations: 4 kB / 0.5631 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.3586, allocations: 38.56 kB / 0.5631 GB, free: 1.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.3586, allocations: 0 / 0.5631 GB, free: 1.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009599/0.3596, allocations: 317.5 kB / 0.5634 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/0.3597, allocations: 106.8 kB / 0.5635 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.36, allocations: 260.9 kB / 0.5637 GB, free: 376 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.36, allocations: 25.7 kB / 0.5638 GB, free: 344 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3601, allocations: 139.9 kB / 0.5639 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.3602, allocations: 35.69 kB / 0.5639 GB, free: 164 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.3602, allocations: 37.7 kB / 0.564 GB, free: 120 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3604, allocations: 342.7 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.3607, allocations: 95.95 kB / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.361, allocations: 129 kB / 0.5645 GB, free: 15.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.3615, allocations: 224.9 kB / 0.5647 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3615, allocations: 0 / 0.5647 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006795/0.3622, allocations: 281.2 kB / 0.565 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3622, allocations: 10.66 kB / 0.565 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.3622, allocations: 12 kB / 0.565 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3623, allocations: 0 / 0.565 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.3625, allocations: 39.95 kB / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3625, allocations: 3.938 kB / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.3627, allocations: 39.8 kB / 0.5651 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.3627, allocations: 12.06 kB / 0.5651 GB, free: 14.9 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.0001351/0.3629, allocations: 137.8 kB / 0.5652 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/0.363, allocations: 23.86 kB / 0.5653 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004967/0.3635, allocations: 215.1 kB / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3635, allocations: 4 kB / 0.5655 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3635, allocations: 96 / 0.5655 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3635, allocations: 3.938 kB / 0.5655 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.3639, allocations: 216.6 kB / 0.5657 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/0.3639, allocations: 15.98 kB / 0.5657 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.3641, allocations: 31.97 kB / 0.5657 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3641, allocations: 7.938 kB / 0.5657 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.3641, allocations: 7.938 kB / 0.5657 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3641, allocations: 0 / 0.5657 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3641, allocations: 0 / 0.5657 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.3648, allocations: 485.7 kB / 0.5662 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.3649, allocations: 27.84 kB / 0.5662 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.3649, allocations: 0 / 0.5662 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.3652, allocations: 19.98 kB / 0.5663 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.3652, allocations: 15.91 kB / 0.5663 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3652, allocations: 11.94 kB / 0.5663 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.3654, allocations: 192.4 kB / 0.5665 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3654, allocations: 0 / 0.5665 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004354/0.3659, allocations: 71.81 kB / 0.5665 GB, free: 13.37 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.001212/0.3671, allocations: 1.054 MB / 0.5676 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007029/0.3678, allocations: 280.8 kB / 0.5678 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.3678, allocations: 4 kB / 0.5678 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.3681, allocations: 177.3 kB / 0.568 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.3687, allocations: 52.59 kB / 0.5681 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.373, allocations: 2.823 MB / 0.5708 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.3731, allocations: 131.4 kB / 0.5709 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3733, allocations: 49.39 kB / 0.571 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3734, allocations: 55.41 kB / 0.571 GB, free: 8.547 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3734, allocations: 0 / 0.571 GB, free: 8.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.4078, allocations: 6.737 MB / 0.5776 GB, free: 1.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.61, allocations: 10.14 kB / 0.5776 GB, free: 1.988 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_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_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.64462351705879]