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_laminar_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.001675/0.001675, allocations: 119 kB / 18.5 MB, free: 4.602 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.001946/0.001946, allocations: 194.9 kB / 21.44 MB, free: 1.664 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.444/1.444, allocations: 225.6 MB / 249.8 MB, free: 3.625 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.2163/0.2163, allocations: 44.92 MB / 349.6 MB, free: 1.746 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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.06 kB / 491.8 MB, free: 30.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1212, allocations: 64.26 MB / 0.543 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003418/0.1246, allocations: 2.018 MB / 0.545 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.126, allocations: 0.9073 MB / 0.5459 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.1261, allocations: 4 kB / 0.5459 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.1264, allocations: 59.66 kB / 0.5459 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.1268, allocations: 131.4 kB / 0.5461 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.127, allocations: 83.66 kB / 0.5462 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.1275, allocations: 386.1 kB / 0.5465 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.639e-05/0.1276, allocations: 32.69 kB / 0.5466 GB, free: 500 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.1278, allocations: 151.2 kB / 0.5467 GB, free: 348 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.1281, allocations: 191 kB / 0.5469 GB, free: 156 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.1281, allocations: 12 kB / 0.5469 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.1284, allocations: 147.8 kB / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1285, allocations: 95.48 kB / 0.5471 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.1286, allocations: 154.9 kB / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005507/0.1292, allocations: 438.2 kB / 0.5477 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1292, allocations: 0 / 0.5477 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1292, allocations: 0 / 0.5477 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1292, allocations: 0 / 0.5477 GB, free: 15.32 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.001136/0.1303, allocations: 0.6624 MB / 0.5483 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.1304, allocations: 12.03 kB / 0.5483 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.1305, allocations: 78.72 kB / 0.5484 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.422e-05/0.1306, allocations: 48.66 kB / 0.5485 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.131, allocations: 283.7 kB / 0.5487 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.1311, allocations: 25.38 kB / 0.5488 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.1311, allocations: 36.38 kB / 0.5488 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008322/0.1319, allocations: 0.5608 MB / 0.5493 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.132, allocations: 0 / 0.5493 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.132, allocations: 12 kB / 0.5494 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/0.1321, allocations: 40.97 kB / 0.5494 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009907/0.133, allocations: 0.5737 MB / 0.55 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.1349, allocations: 1.176 MB / 0.5511 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.1356, allocations: 371.7 kB / 0.5515 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.1358, allocations: 136.8 kB / 0.5516 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.1359, allocations: 8.078 kB / 0.5516 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1359, allocations: 34.5 kB / 0.5516 GB, free: 11.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.1359, allocations: 0 / 0.5516 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009508/0.1369, allocations: 466.3 kB / 0.5521 GB, free: 10.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1369, allocations: 55.39 kB / 0.5521 GB, free: 10.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.1374, allocations: 457.5 kB / 0.5526 GB, free: 10.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1374, allocations: 29.7 kB / 0.5526 GB, free: 10.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1376, allocations: 188.5 kB / 0.5528 GB, free: 9.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/0.1376, allocations: 83.25 kB / 0.5528 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.1377, allocations: 53.7 kB / 0.5529 GB, free: 9.758 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1379, allocations: 350.7 kB / 0.5532 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.1382, allocations: 115.9 kB / 0.5533 GB, free: 9.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.1384, allocations: 126.6 kB / 0.5535 GB, free: 9.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/0.1389, allocations: 264.6 kB / 0.5537 GB, free: 8.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1389, allocations: 0 / 0.5537 GB, free: 8.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006095/0.1395, allocations: 352.1 kB / 0.5541 GB, free: 8.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1396, allocations: 7.938 kB / 0.5541 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1396, allocations: 0 / 0.5541 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1396, allocations: 0 / 0.5541 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.1403, allocations: 159.9 kB / 0.5542 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/0.1436, allocations: 5.512 MB / 0.5596 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.1438, allocations: 51.98 kB / 0.5596 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.1439, allocations: 15.98 kB / 0.5597 GB, free: 2.609 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.0002424/0.1441, allocations: 189.6 kB / 0.5598 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.1442, allocations: 35.77 kB / 0.5599 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008908/0.1451, allocations: 452.5 kB / 0.5603 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1451, allocations: 4 kB / 0.5603 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1451, allocations: 0 / 0.5603 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.1451, allocations: 4 kB / 0.5603 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.1456, allocations: 381.2 kB / 0.5607 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1456, allocations: 11.92 kB / 0.5607 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/0.1463, allocations: 147.9 kB / 0.5608 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.1463, allocations: 4 kB / 0.5608 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.1463, allocations: 8 kB / 0.5608 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.1497, allocations: 5.516 MB / 0.5662 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.1497, allocations: 7.922 kB / 0.5662 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.1504, allocations: 450.4 kB / 0.5667 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.1506, allocations: 116.8 kB / 0.5668 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.1506, allocations: 7.984 kB / 0.5668 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.1508, allocations: 8 kB / 0.5668 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.1509, allocations: 23.91 kB / 0.5668 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.1509, allocations: 15.92 kB / 0.5668 GB, free: 10.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003942/0.1513, allocations: 339.1 kB / 0.5672 GB, free: 10.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1513, allocations: 0 / 0.5672 GB, free: 10.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.1517, allocations: 99.83 kB / 0.5673 GB, free: 10.54 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.00116/0.1529, allocations: 1.02 MB / 0.5682 GB, free: 9.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.1541, allocations: 395.5 kB / 0.5686 GB, free: 9.098 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1541, allocations: 0 / 0.5686 GB, free: 9.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007656/0.1548, allocations: 275.3 kB / 0.5689 GB, free: 8.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.1553, allocations: 90.44 kB / 0.569 GB, free: 8.746 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005766/0.1611, allocations: 4.346 MB / 0.5732 GB, free: 4.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.1616, allocations: 0.8542 MB / 0.5741 GB, free: 3.445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.1619, allocations: 87.19 kB / 0.5741 GB, free: 3.359 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.1621, allocations: 111.4 kB / 0.5742 GB, free: 3.25 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1621, allocations: 0 / 0.5742 GB, free: 3.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.2006, allocations: 11.63 MB / 0.5856 GB, free: 7.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.39, allocations: 7.453 kB / 0.5856 GB, free: 7.887 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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.655059874989092]