Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 118.1 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 249.8 MB, free: 3.719 MB / 190.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.2136/0.2136, allocations: 44.92 MB / 349.6 MB, free: 1.723 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 60.67 kB / 491.8 MB, free: 30.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1084, allocations: 64.26 MB / 0.543 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003492/0.1119, allocations: 1.996 MB / 0.545 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.1145, allocations: 1.841 MB / 0.5468 GB, free: 224 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.388e-05/0.1146, allocations: 0 / 0.5468 GB, free: 224 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.1149, allocations: 59.66 kB / 0.5468 GB, free: 164 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.1152, allocations: 127.4 kB / 0.547 GB, free: 36 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.1159, allocations: 350.6 kB / 0.5473 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004197/0.1164, allocations: 386.1 kB / 0.5477 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/0.1164, allocations: 33.02 kB / 0.5477 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.1166, allocations: 151.2 kB / 0.5478 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.1169, allocations: 183.1 kB / 0.548 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.1169, allocations: 8 kB / 0.548 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008372/0.1178, allocations: 0.5537 MB / 0.5486 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1179, allocations: 103.5 kB / 0.5487 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.118, allocations: 150.9 kB / 0.5488 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008673/0.1189, allocations: 0.642 MB / 0.5494 GB, free: 13.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1189, allocations: 4 kB / 0.5494 GB, free: 13.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1189, allocations: 0 / 0.5494 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1189, allocations: 0 / 0.5494 GB, free: 13.49 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001174/0.1201, allocations: 0.6933 MB / 0.5501 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1201, allocations: 12.03 kB / 0.5501 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.534e-05/0.1202, allocations: 86.69 kB / 0.5502 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.781e-05/0.1203, allocations: 44.66 kB / 0.5502 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.1207, allocations: 279.7 kB / 0.5505 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.1208, allocations: 29.36 kB / 0.5505 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.1208, allocations: 36.38 kB / 0.5506 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008389/0.1217, allocations: 0.5531 MB / 0.5511 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1217, allocations: 0 / 0.5511 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.1217, allocations: 19.92 kB / 0.5511 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.47e-05/0.1218, allocations: 44.97 kB / 0.5512 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009775/0.1228, allocations: 0.5737 MB / 0.5517 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.1247, allocations: 1.172 MB / 0.5529 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007002/0.1254, allocations: 375.5 kB / 0.5532 GB, free: 9.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.1257, allocations: 128.9 kB / 0.5534 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.1257, allocations: 7.984 kB / 0.5534 GB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1258, allocations: 30.56 kB / 0.5534 GB, free: 9.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.1258, allocations: 0 / 0.5534 GB, free: 9.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009842/0.1267, allocations: 474.5 kB / 0.5539 GB, free: 8.781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.1268, allocations: 51.41 kB / 0.5539 GB, free: 8.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.1273, allocations: 449.6 kB / 0.5543 GB, free: 8.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.1273, allocations: 29.8 kB / 0.5544 GB, free: 8.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1275, allocations: 204.3 kB / 0.5546 GB, free: 8.027 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.1275, allocations: 71.34 kB / 0.5546 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1276, allocations: 57.69 kB / 0.5547 GB, free: 7.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1278, allocations: 350.7 kB / 0.555 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.1281, allocations: 115.9 kB / 0.5551 GB, free: 7.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.1283, allocations: 118.7 kB / 0.5552 GB, free: 7.316 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.1288, allocations: 264.6 kB / 0.5555 GB, free: 7.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1288, allocations: 0 / 0.5555 GB, free: 7.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006394/0.1295, allocations: 352.3 kB / 0.5558 GB, free: 6.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1295, allocations: 7.938 kB / 0.5558 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1295, allocations: 0 / 0.5558 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1295, allocations: 0 / 0.5558 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/0.1302, allocations: 159.8 kB / 0.556 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003333/0.1336, allocations: 5.513 MB / 0.5614 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.1338, allocations: 51.53 kB / 0.5614 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.1338, allocations: 15.98 kB / 0.5614 GB, free: 0.7539 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002187/0.134, allocations: 189.7 kB / 0.5616 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.1341, allocations: 35.77 kB / 0.5616 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008861/0.135, allocations: 464.5 kB / 0.5621 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.135, allocations: 4 kB / 0.5621 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.135, allocations: 0 / 0.5621 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.135, allocations: 0 / 0.5621 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.1355, allocations: 381.2 kB / 0.5625 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1355, allocations: 7.938 kB / 0.5625 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.1361, allocations: 147.9 kB / 0.5626 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1362, allocations: 4 kB / 0.5626 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.1362, allocations: 11.98 kB / 0.5626 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003244/0.1394, allocations: 5.52 MB / 0.568 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1394, allocations: 3.938 kB / 0.568 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.1401, allocations: 451.3 kB / 0.5684 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.1402, allocations: 116.8 kB / 0.5686 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.1403, allocations: 4 kB / 0.5686 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.1405, allocations: 11.98 kB / 0.5686 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.1405, allocations: 23.86 kB / 0.5686 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.1406, allocations: 11.98 kB / 0.5686 GB, free: 9.098 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003592/0.1409, allocations: 347 kB / 0.5689 GB, free: 8.762 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1409, allocations: 0 / 0.5689 GB, free: 8.762 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004567/0.1414, allocations: 143.6 kB / 0.5691 GB, free: 8.621 MB / 430.1 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/0.1426, allocations: 1.074 MB / 0.5701 GB, free: 7.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.1437, allocations: 395.6 kB / 0.5705 GB, free: 7.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.1437, allocations: 4 kB / 0.5705 GB, free: 7.129 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.1445, allocations: 275 kB / 0.5708 GB, free: 6.863 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.1449, allocations: 98.44 kB / 0.5709 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/0.1505, allocations: 4.377 MB / 0.5751 GB, free: 2.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.151, allocations: 0.8503 MB / 0.576 GB, free: 1.441 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.1512, allocations: 87.2 kB / 0.5761 GB, free: 1.355 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.1513, allocations: 111.4 kB / 0.5762 GB, free: 1.246 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1513, allocations: 0 / 0.5762 GB, free: 1.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03802/0.1894, allocations: 12.98 MB / 0.5888 GB, free: 4.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.22, allocations: 7.812 kB / 0.5888 GB, free: 4.531 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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: 15.487957472912967]