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.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.001117/0.001117, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008303/0.0008303, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8761/0.8761, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2153/0.2153, allocations: 32.8 MB / 293.5 MB, free: 1.223 MB / 266.7 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.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 1.583e-06/1.583e-06, allocations: 3.938 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.368e-05, allocations: 3.406 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002444/0.002468, allocations: 1.976 MB / 441.6 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.003414, allocations: 0.841 MB / 442.4 MB, free: 1.383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.003487, allocations: 7.938 kB / 442.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.003731, allocations: 63.66 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.004022, allocations: 139.1 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.004237, allocations: 83.7 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.00452, allocations: 401.8 kB / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.004569, allocations: 12.94 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.004787, allocations: 203.2 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.004945, allocations: 175.4 kB / 443.5 MB, free: 320 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.004967, allocations: 8 kB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.0051, allocations: 63.97 kB / 443.6 MB, free: 248 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.005187, allocations: 111.4 kB / 443.7 MB, free: 136 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.355e-05/0.005261, allocations: 99.59 kB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.151/0.1563, allocations: 396.7 kB / 444.2 MB, free: 43.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1563, allocations: 0.5 kB / 444.2 MB, free: 43.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1563, allocations: 0 / 444.2 MB, free: 43.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1563, allocations: 3.5 kB / 444.2 MB, free: 43.58 MB / 410.7 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.0006018/0.1569, allocations: 0.5903 MB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.157, allocations: 8.781 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.157, allocations: 82.66 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.1571, allocations: 43.59 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1572, allocations: 221.5 kB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1573, allocations: 33.84 kB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1573, allocations: 31.31 kB / 445.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.1578, allocations: 0.5544 MB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1578, allocations: 6.203 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.1578, allocations: 12.06 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.1578, allocations: 44.27 kB / 445.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.1584, allocations: 0.5699 MB / 446.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009668/0.1593, allocations: 1.091 MB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.1597, allocations: 363.6 kB / 447.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.1599, allocations: 130.1 kB / 447.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1599, allocations: 7.516 kB / 447.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.1599, allocations: 41.34 kB / 448 MB, free: 42.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.1599, allocations: 3.234 kB / 448 MB, free: 42.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005542/0.1605, allocations: 468.5 kB / 448.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.1605, allocations: 57.75 kB / 448.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.1608, allocations: 451.1 kB / 448.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1608, allocations: 29.33 kB / 449 MB, free: 42.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.1608, allocations: 191.9 kB / 449.1 MB, free: 42.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1609, allocations: 74.11 kB / 449.2 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.1609, allocations: 58.73 kB / 449.3 MB, free: 42.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.161, allocations: 351.6 kB / 449.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1611, allocations: 117.9 kB / 449.7 MB, free: 41.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1612, allocations: 120.3 kB / 449.9 MB, free: 41.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1615, allocations: 270.4 kB / 450.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1615, allocations: 0 / 450.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003477/0.1619, allocations: 343.2 kB / 450.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1619, allocations: 6.719 kB / 450.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1619, allocations: 2.938 kB / 450.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1619, allocations: 2.844 kB / 450.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.1623, allocations: 162.1 kB / 450.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009726/0.1633, allocations: 5.516 MB / 456.1 MB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.1634, allocations: 51.69 kB / 456.2 MB, free: 36.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1634, allocations: 15.61 kB / 456.2 MB, free: 36.15 MB / 410.7 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.0001147/0.1635, allocations: 188.3 kB / 456.4 MB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.1635, allocations: 42.98 kB / 456.4 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.164, allocations: 454 kB / 456.9 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.164, allocations: 3.031 kB / 456.9 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.164, allocations: 0 / 456.9 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.164, allocations: 3.234 kB / 456.9 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.1643, allocations: 325.5 kB / 457.2 MB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1643, allocations: 0 / 457.2 MB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.1646, allocations: 160.5 kB / 457.4 MB, free: 35.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1646, allocations: 3.938 kB / 457.4 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1646, allocations: 21.5 kB / 457.4 MB, free: 35.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008891/0.1655, allocations: 5.513 MB / 462.9 MB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1655, allocations: 0 / 462.9 MB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.1659, allocations: 444.8 kB / 463.3 MB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.1659, allocations: 46.38 kB / 463.4 MB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1659, allocations: 3.188 kB / 463.4 MB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.166, allocations: 7.312 kB / 463.4 MB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.1661, allocations: 23.27 kB / 463.4 MB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1661, allocations: 9.781 kB / 463.4 MB, free: 30.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.1663, allocations: 344 kB / 463.8 MB, free: 29.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1663, allocations: 0 / 463.8 MB, free: 29.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.1665, allocations: 108.5 kB / 463.9 MB, free: 29.89 MB / 410.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 (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.0005797/0.1671, allocations: 1.022 MB / 464.9 MB, free: 29.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006123/0.1677, allocations: 398.2 kB / 465.3 MB, free: 29.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1677, allocations: 0 / 465.3 MB, free: 29.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.1681, allocations: 276.4 kB / 465.5 MB, free: 29.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1685, allocations: 85.78 kB / 465.6 MB, free: 29.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.1718, allocations: 4.404 MB / 470 MB, free: 27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.1719, allocations: 240.2 kB / 470.3 MB, free: 26.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.172, allocations: 88.69 kB / 470.3 MB, free: 26.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.757e-05/0.1721, allocations: 110.2 kB / 470.5 MB, free: 26.83 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1721, allocations: 0 / 470.5 MB, free: 26.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.1926, allocations: 13.03 MB / 483.5 MB, free: 25.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/7.991, allocations: 4.5 kB / 483.5 MB, free: 25.04 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.04463757108897]