Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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.0007003/0.0007003, allocations: 80.44 kB / 19.93 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.001147/0.001147, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.8161/0.8161, allocations: 158.6 MB / 185 MB, free: 3.039 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.1239/0.1239, 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.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 406.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.393e-05, allocations: 6.219 kB / 406.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002255/0.002269, allocations: 2.124 MB / 409 MB, free: 64 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.004147, allocations: 1.881 MB / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.822e-05/0.004236, allocations: 7.938 kB / 410.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.004469, allocations: 59.59 kB / 411 MB, free: 14.11 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.004626, allocations: 115.2 kB / 411.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.005376, allocations: 422.1 kB / 411.5 MB, free: 13.58 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.005741, allocations: 0.5285 MB / 412 MB, free: 13.05 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.005801, allocations: 21.28 kB / 412 MB, free: 13.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.006008, allocations: 231.1 kB / 412.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.006165, allocations: 171.4 kB / 412.4 MB, free: 12.62 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.006191, allocations: 20 kB / 412.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004197/0.00661, allocations: 359.2 kB / 412.8 MB, free: 12.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-05/0.006695, allocations: 103.5 kB / 412.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.081e-05/0.006786, allocations: 139.4 kB / 413 MB, free: 12.02 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008136/0.007599, allocations: 0.7162 MB / 413.8 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.007602, allocations: 0 / 413.8 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007603, allocations: 0 / 413.8 MB, free: 11.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.007609, allocations: 0 / 413.8 MB, free: 11.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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.0007972/0.008406, allocations: 0.7462 MB / 414.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.008441, allocations: 12.03 kB / 414.5 MB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.008509, allocations: 94.7 kB / 414.6 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.008564, allocations: 52.61 kB / 414.7 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.008797, allocations: 249.1 kB / 414.9 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.008819, allocations: 41.38 kB / 414.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.008857, allocations: 48.38 kB / 415 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.009511, allocations: 0.7042 MB / 415.7 MB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.009523, allocations: 3.938 kB / 415.7 MB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.009547, allocations: 20 kB / 415.7 MB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.009572, allocations: 21 kB / 415.7 MB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.0101, allocations: 0.4959 MB / 416.2 MB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.01136, allocations: 1.406 MB / 417.6 MB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.01173, allocations: 303.6 kB / 417.9 MB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.01191, allocations: 146.4 kB / 418.1 MB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.01195, allocations: 16.11 kB / 418.1 MB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.01197, allocations: 42.5 kB / 418.1 MB, free: 6.738 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 1.153e-06/0.01197, allocations: 0 / 418.1 MB, free: 6.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007225/0.0127, allocations: 0.5131 MB / 418.6 MB, free: 6.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.01273, allocations: 102.8 kB / 418.7 MB, free: 6.094 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.01312, allocations: 0.5682 MB / 419.3 MB, free: 5.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.01314, allocations: 29.95 kB / 419.3 MB, free: 5.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01325, allocations: 236.5 kB / 419.6 MB, free: 5.246 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.01329, allocations: 83.25 kB / 419.7 MB, free: 5.164 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.01337, allocations: 81.69 kB / 419.7 MB, free: 5.078 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.01346, allocations: 354.8 kB / 420.1 MB, free: 4.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.01365, allocations: 151.7 kB / 420.2 MB, free: 4.574 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.01389, allocations: 256.5 kB / 420.5 MB, free: 4.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.01458, allocations: 428.3 kB / 420.9 MB, free: 3.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01458, allocations: 4 kB / 420.9 MB, free: 3.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005382/0.01512, allocations: 488.7 kB / 421.4 MB, free: 3.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01513, allocations: 8 kB / 421.4 MB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.823e-05/0.01517, allocations: 39.98 kB / 421.4 MB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01519, allocations: 12.38 kB / 421.4 MB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.01529, allocations: 39.89 kB / 421.5 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01529, allocations: 4 kB / 421.5 MB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.01543, allocations: 79.48 kB / 421.6 MB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.01545, allocations: 19.94 kB / 421.6 MB, free: 3.125 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001429/0.01559, allocations: 221.6 kB / 421.8 MB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.01564, allocations: 47.72 kB / 421.8 MB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/0.01615, allocations: 469.4 kB / 422.3 MB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.01615, allocations: 4 kB / 422.3 MB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.01616, allocations: 4 kB / 422.3 MB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01616, allocations: 3.984 kB / 422.3 MB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.0165, allocations: 348.4 kB / 422.6 MB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-05/0.01653, allocations: 39.98 kB / 422.7 MB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.01659, allocations: 23.97 kB / 422.7 MB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.0166, allocations: 0 / 422.7 MB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.01661, allocations: 15.98 kB / 422.7 MB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01662, allocations: 7.938 kB / 422.7 MB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01662, allocations: 4 kB / 422.7 MB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.01713, allocations: 0.6305 MB / 423.4 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.01718, allocations: 47.64 kB / 423.4 MB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.01721, allocations: 8 kB / 423.4 MB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.01735, allocations: 19.97 kB / 423.4 MB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.0174, allocations: 27.97 kB / 423.5 MB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.01742, allocations: 12 kB / 423.5 MB, free: 1.137 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002658/0.01769, allocations: 414.7 kB / 423.9 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01769, allocations: 0 / 423.9 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003726/0.01806, allocations: 175.6 kB / 424.1 MB, free: 0.5625 MB / 394.7 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0008943/0.01895, allocations: 1.315 MB / 425.4 MB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005627/0.01951, allocations: 0.6531 MB / 426 MB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01952, allocations: 64 / 426 MB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.01981, allocations: 492.2 kB / 426.5 MB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.02021, allocations: 93.91 kB / 426.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/0.02481, allocations: 5.425 MB / 432 MB, free: 8.242 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.02498, allocations: 288 kB / 432.3 MB, free: 7.941 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.02508, allocations: 71.34 kB / 432.4 MB, free: 7.871 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.02519, allocations: 132.5 kB / 432.5 MB, free: 7.742 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02519, allocations: 4 kB / 432.5 MB, free: 7.738 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.04753, allocations: 15.49 MB / 448 MB, free: 8.219 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/6.87, allocations: 8.062 kB / 448 MB, free: 8.211 MB / 426.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mflow_test in file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.890227288939059]