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.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.0009949/0.0009949, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00115/0.00115, allocations: 172.2 kB / 24.92 MB, free: 9.113 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2593/0.2593, allocations: 32.81 MB / 294.6 MB, free: 1.172 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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,tolerance=1e-07,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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,tolerance=1e-07,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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 323.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.349e-05, allocations: 3.188 kB / 323.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.00372/0.003743, allocations: 2.089 MB / 325.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.006633, allocations: 1.833 MB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.006763, allocations: 0 / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.007103, allocations: 59.61 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.007549, allocations: 139.2 kB / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.008526, allocations: 342.4 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000467/0.008993, allocations: 409.9 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.996e-05/0.009063, allocations: 22.83 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.009438, allocations: 203.2 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.009712, allocations: 155.5 kB / 328.5 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.009746, allocations: 8 kB / 328.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006993/0.01045, allocations: 323.3 kB / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.01058, allocations: 107.5 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.869e-05/0.01067, allocations: 95.59 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005923/0.01126, allocations: 0.561 MB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.01126, allocations: 4 kB / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01126, allocations: 0 / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.01127, allocations: 0 / 329.6 MB, free: 3.254 MB / 298.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.0006892/0.01196, allocations: 0.5826 MB / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.01199, allocations: 8.031 kB / 330.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.989e-05/0.01206, allocations: 56.89 kB / 330.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.01225, allocations: 188.4 kB / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.01227, allocations: 33.38 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.01231, allocations: 36.36 kB / 330.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.01265, allocations: 314.4 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.01266, allocations: 4.188 kB / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.01268, allocations: 12.38 kB / 330.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.01273, allocations: 44.91 kB / 330.9 MB, free: 1.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.01293, allocations: 166.9 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.01379, allocations: 0.7068 MB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.01398, allocations: 167.4 kB / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.01404, allocations: 32.83 kB / 332 MB, free: 0.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.01407, allocations: 8 kB / 332 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.01409, allocations: 38.56 kB / 332 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.01409, allocations: 0 / 332 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002664/0.01436, allocations: 121.5 kB / 332.1 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.01439, allocations: 55.41 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.01449, allocations: 150.6 kB / 332.3 MB, free: 436 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.01451, allocations: 29.7 kB / 332.4 MB, free: 400 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.0146, allocations: 212.4 kB / 332.6 MB, free: 180 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.01465, allocations: 71.38 kB / 332.6 MB, free: 108 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.01471, allocations: 45.67 kB / 332.7 MB, free: 56 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.01482, allocations: 330.7 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/0.01487, allocations: 22.81 kB / 333 MB, free: 15.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.434e-05/0.01491, allocations: 27.98 kB / 333 MB, free: 15.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.01503, allocations: 77.44 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.01503, allocations: 7.875 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001508/0.01518, allocations: 101.6 kB / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.0152, allocations: 8 kB / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.0152, allocations: 0 / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.01522, allocations: 3.938 kB / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.0156, allocations: 111.9 kB / 333.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.01748, allocations: 5.355 MB / 338.7 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.01756, allocations: 15.95 kB / 338.7 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.01758, allocations: 11.98 kB / 338.7 MB, free: 9.746 MB / 314.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.0001119/0.01769, allocations: 124.5 kB / 338.9 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.01772, allocations: 15.98 kB / 338.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.01799, allocations: 194 kB / 339.1 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.018, allocations: 7.922 kB / 339.1 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.018, allocations: 0 / 339.1 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01801, allocations: 0 / 339.1 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.01821, allocations: 165.7 kB / 339.2 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01821, allocations: 4 kB / 339.2 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.01853, allocations: 119.8 kB / 339.3 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01853, allocations: 4 kB / 339.4 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01855, allocations: 4 kB / 339.4 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.02026, allocations: 5.35 MB / 344.7 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.02026, allocations: 0 / 344.7 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.02047, allocations: 257 kB / 345 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.02049, allocations: 23.83 kB / 345 MB, free: 3.215 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.02051, allocations: 4.312 kB / 345 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/0.02057, allocations: 8 kB / 345 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.02063, allocations: 19.91 kB / 345 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.02064, allocations: 11.98 kB / 345 MB, free: 3.172 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.636e-05/0.02067, allocations: 31.06 kB / 345.1 MB, free: 3.141 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02067, allocations: 0 / 345.1 MB, free: 3.141 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.02098, allocations: 171.3 kB / 345.2 MB, free: 2.973 MB / 314.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.0003333/0.02131, allocations: 211.8 kB / 345.4 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004489/0.02176, allocations: 179.4 kB / 345.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.02176, allocations: 0 / 345.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.02207, allocations: 140.7 kB / 345.7 MB, free: 2.438 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.02226, allocations: 27.98 kB / 345.8 MB, free: 2.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009686/0.02323, allocations: 0.6715 MB / 346.4 MB, free: 1.711 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.106e-05/0.02331, allocations: 127.9 kB / 346.6 MB, free: 1.566 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.408e-05/0.02338, allocations: 17.42 kB / 346.6 MB, free: 1.551 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.02347, allocations: 75.34 kB / 346.7 MB, free: 1.477 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02347, allocations: 4 kB / 346.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of Templates: time 0.008304/0.03178, allocations: 6.979 MB / 353.6 MB, free: 10.57 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC/kc_overall_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.3686122219078243]