Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009547/0.0009547, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.0009469/0.0009469, allocations: 164.5 kB / 24.82 MB, free: 8.859 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.9983/0.9983, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3055/0.3055, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.805e-05, allocations: 2.312 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003226/0.003255, allocations: 2.063 MB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.004792, allocations: 0.8917 MB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.004933, allocations: 7.938 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.005234, allocations: 55.66 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.005618, allocations: 127.2 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.005918, allocations: 95.59 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004278/0.006346, allocations: 401.9 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.966e-05/0.006406, allocations: 20.92 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.006752, allocations: 199.2 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.006997, allocations: 163.4 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.007028, allocations: 12 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.007267, allocations: 75.83 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.007388, allocations: 95.55 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.007499, allocations: 99.59 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.008014, allocations: 374.4 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.008017, allocations: 0 / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.008018, allocations: 4 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.008024, allocations: 0 / 383.2 MB, free: 13.68 MB / 362.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.0008364/0.008861, allocations: 0.6948 MB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.00891, allocations: 12.03 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/0.009287, allocations: 72.64 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.009524, allocations: 214.8 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.009552, allocations: 33.36 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.009594, allocations: 40.38 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.009998, allocations: 275.7 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.01001, allocations: 192 / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.01004, allocations: 20.36 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.946e-05/0.0101, allocations: 40.92 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.01034, allocations: 174.8 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.01148, allocations: 0.8167 MB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.01171, allocations: 133.9 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/0.01178, allocations: 39.67 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.01183, allocations: 11.94 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.01185, allocations: 45.42 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.01185, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003716/0.01223, allocations: 173.6 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.01226, allocations: 55.41 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.01237, allocations: 205.8 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.01239, allocations: 29.7 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01251, allocations: 263.1 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.01258, allocations: 83.3 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.01266, allocations: 55.34 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.01281, allocations: 0.5001 MB / 387.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.829e-05/0.01287, allocations: 27.98 kB / 387.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.01294, allocations: 35.09 kB / 387.2 MB, free: 9.484 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.01309, allocations: 79.59 kB / 387.3 MB, free: 9.402 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01309, allocations: 0 / 387.3 MB, free: 9.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00025/0.01334, allocations: 152.6 kB / 387.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.01336, allocations: 8 kB / 387.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01337, allocations: 0 / 387.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01338, allocations: 0 / 387.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.01388, allocations: 159.9 kB / 387.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.01715, allocations: 8.141 MB / 395.7 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.01726, allocations: 19.89 kB / 395.7 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.01728, allocations: 11.98 kB / 395.8 MB, free: 0.6562 MB / 362.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.0001645/0.01745, allocations: 160.6 kB / 395.9 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.0175, allocations: 23.91 kB / 395.9 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.01789, allocations: 242.4 kB / 396.2 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.0179, allocations: 7.938 kB / 396.2 MB, free: 216 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.0179, allocations: 0 / 396.2 MB, free: 216 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01791, allocations: 3.984 kB / 396.2 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.01821, allocations: 217.1 kB / 396.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01821, allocations: 4.031 kB / 396.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.01865, allocations: 159.9 kB / 396.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.01865, allocations: 4 kB / 396.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.01867, allocations: 11.98 kB / 396.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.02144, allocations: 8.129 MB / 404.7 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.02144, allocations: 0 / 404.7 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.02174, allocations: 314.8 kB / 405 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.02177, allocations: 12.25 kB / 405 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.02179, allocations: 7.938 kB / 405 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.0219, allocations: 8 kB / 405 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.02196, allocations: 23.95 kB / 405.1 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.02198, allocations: 8 kB / 405.1 MB, free: 7.023 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.598e-05/0.02205, allocations: 153.6 kB / 405.2 MB, free: 6.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02205, allocations: 0 / 405.2 MB, free: 6.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000403/0.02245, allocations: 127.5 kB / 405.3 MB, free: 6.75 MB / 378.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.0002151/0.02266, allocations: 135.1 kB / 405.5 MB, free: 6.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005671/0.02323, allocations: 243.3 kB / 405.7 MB, free: 6.363 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02323, allocations: 0 / 405.7 MB, free: 6.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.02366, allocations: 195.5 kB / 405.9 MB, free: 6.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.02396, allocations: 31.97 kB / 405.9 MB, free: 6.137 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.02534, allocations: 0.6501 MB / 406.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.439e-05/0.02543, allocations: 139.9 kB / 406.7 MB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.777e-05/0.02552, allocations: 21.47 kB / 406.7 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.02563, allocations: 98.17 kB / 406.8 MB, free: 5.18 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02563, allocations: 0 / 406.8 MB, free: 5.18 MB / 378.7 MB Notification: Performance of Templates: time 0.008125/0.03376, allocations: 5.439 MB / 412.3 MB, free: 15.81 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4872919037006795]