Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008255/0.0008255, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008834/0.0008834, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8023/0.8023, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1255/0.1255, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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 1.503e-06/1.503e-06, allocations: 3.938 kB / 406.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.521e-05, allocations: 2.281 kB / 406.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.001995/0.00201, allocations: 1.683 MB / 408.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003208, allocations: 1.153 MB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.003261, allocations: 0 / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.003476, allocations: 31.77 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.00371, allocations: 75.58 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.004027, allocations: 179.2 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.004212, allocations: 163.3 kB / 410.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.004253, allocations: 9.578 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.004336, allocations: 75.73 kB / 410.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.004441, allocations: 67.8 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.004456, allocations: 4 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.004631, allocations: 123.6 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.00469, allocations: 55.81 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.004732, allocations: 39.86 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.004982, allocations: 231.2 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004984, allocations: 0 / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004985, allocations: 0 / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.004988, allocations: 0 / 410.7 MB, free: 14.3 MB / 394.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.0004594/0.005448, allocations: 405.3 kB / 411.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.005483, allocations: 8.031 kB / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.005522, allocations: 58.72 kB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008247/0.006346, allocations: 200.5 kB / 411.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.006534, allocations: 181.4 kB / 411.6 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.006545, allocations: 12.31 kB / 411.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.00657, allocations: 12.38 kB / 411.6 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.006978, allocations: 348.3 kB / 411.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006989, allocations: 4.172 kB / 411.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.007016, allocations: 12.11 kB / 412 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.007041, allocations: 16 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.007462, allocations: 371.6 kB / 412.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009/0.008362, allocations: 0.7302 MB / 413.1 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.008784, allocations: 334.2 kB / 413.4 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.008938, allocations: 116.8 kB / 413.5 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.008961, allocations: 11.88 kB / 413.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.008985, allocations: 42.55 kB / 413.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.008986, allocations: 0 / 413.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006253/0.009612, allocations: 425.1 kB / 414 MB, free: 10.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.009639, allocations: 51.41 kB / 414 MB, free: 10.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.009786, allocations: 226.3 kB / 414.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.009806, allocations: 29.7 kB / 414.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.009864, allocations: 120 kB / 414.4 MB, free: 10.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.009895, allocations: 43.64 kB / 414.4 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.009968, allocations: 57.66 kB / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.01005, allocations: 330.8 kB / 414.8 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.01021, allocations: 119.8 kB / 414.9 MB, free: 9.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.01038, allocations: 155.2 kB / 415.1 MB, free: 9.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.01074, allocations: 283.1 kB / 415.4 MB, free: 9.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01074, allocations: 4 kB / 415.4 MB, free: 9.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004357/0.01117, allocations: 361.1 kB / 415.7 MB, free: 9.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.01118, allocations: 4 kB / 415.7 MB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01119, allocations: 4.109 kB / 415.7 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.0112, allocations: 3.938 kB / 415.7 MB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01105/0.02225, allocations: 1.463 MB / 417.2 MB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/0.04151, allocations: 11.66 MB / 428.9 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.04167, allocations: 31.84 kB / 428.9 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.0417, allocations: 23.97 kB / 428.9 MB, free: 11.21 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.0001205/0.04182, allocations: 137.8 kB / 429 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.04186, allocations: 16.12 kB / 429.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.0419, allocations: 37.45 kB / 429.1 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.0419, allocations: 0 / 429.1 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.04191, allocations: 4 kB / 429.1 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.04191, allocations: 0 / 429.1 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.04212, allocations: 244.5 kB / 429.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.04212, allocations: 3.938 kB / 429.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01079/0.05291, allocations: 1.455 MB / 430.8 MB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.05291, allocations: 0 / 430.8 MB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.05294, allocations: 15.97 kB / 430.8 MB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.07132, allocations: 11.66 MB / 442.5 MB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.07133, allocations: 0 / 442.5 MB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.07177, allocations: 424.1 kB / 442.9 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.0718, allocations: 15.91 kB / 442.9 MB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.07183, allocations: 4 kB / 442.9 MB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.07196, allocations: 11.98 kB / 442.9 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.07213, allocations: 63.78 kB / 443 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.07214, allocations: 11.97 kB / 443 MB, free: 12.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.07225, allocations: 171.2 kB / 443.2 MB, free: 12.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07225, allocations: 0 / 443.2 MB, free: 12.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004983/0.07275, allocations: 119.9 kB / 443.3 MB, free: 12.07 MB / 426.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.0007336/0.07348, allocations: 0.9698 MB / 444.2 MB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009351/0.08283, allocations: 1.412 MB / 445.7 MB, free: 9.656 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.08283, allocations: 0 / 445.7 MB, free: 9.656 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008745/0.09158, allocations: 1.268 MB / 446.9 MB, free: 8.387 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.09184, allocations: 42.95 kB / 447 MB, free: 8.348 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.09426, allocations: 2.73 MB / 449.7 MB, free: 5.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.28e-05/0.09434, allocations: 131.6 kB / 449.8 MB, free: 5.367 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.345e-05/0.09442, allocations: 49.44 kB / 449.9 MB, free: 5.316 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.09449, allocations: 48.48 kB / 449.9 MB, free: 5.27 MB / 426.7 MB Notification: Performance of SimCode: time 8.02e-07/0.09449, allocations: 0 / 449.9 MB, free: 5.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.1129, allocations: 10.04 MB / 460 MB, free: 11.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.704, allocations: 3.984 kB / 460 MB, free: 11.2 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.80380788538605]