Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 87.67 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.007485/0.007485, allocations: 160.6 kB / 24.99 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.068/1.068, allocations: 177 MB / 205.2 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2927/0.2927, allocations: 34.87 MB / 296.6 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.585e-05, allocations: 4.281 kB / 378.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002767/0.002803, allocations: 2.055 MB / 380.8 MB, free: 304 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.004169, allocations: 0.9034 MB / 381.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.004311, allocations: 3.938 kB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.004662, allocations: 59.61 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.005068, allocations: 127.2 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.005376, allocations: 95.58 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.005766, allocations: 405.9 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.005824, allocations: 12.94 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.006121, allocations: 203.2 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.006343, allocations: 163.4 kB / 382.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.006372, allocations: 12 kB / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.006549, allocations: 67.84 kB / 382.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.006663, allocations: 111.5 kB / 383 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.006762, allocations: 95.59 kB / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.007181, allocations: 374.4 kB / 383.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.007184, allocations: 0 / 383.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007185, allocations: 0 / 383.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.007193, allocations: 0 / 383.4 MB, free: 13.69 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.0008073/0.008001, allocations: 0.6949 MB / 384.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.008043, allocations: 8.031 kB / 384.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.008155, allocations: 76.66 kB / 384.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.008421, allocations: 215.8 kB / 384.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.008448, allocations: 37.34 kB / 384.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.008485, allocations: 32.38 kB / 384.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.008891, allocations: 315.7 kB / 384.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.008905, allocations: 4.172 kB / 384.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.008933, allocations: 20.36 kB / 384.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.008989, allocations: 36.92 kB / 384.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.009303, allocations: 225.8 kB / 385.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.01037, allocations: 0.9098 MB / 386 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.01062, allocations: 139 kB / 386.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.345e-05/0.0107, allocations: 43.67 kB / 386.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.01073, allocations: 7.984 kB / 386.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.01076, allocations: 41.42 kB / 386.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.023e-06/0.01076, allocations: 0 / 386.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004011/0.01116, allocations: 190.5 kB / 386.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.01119, allocations: 55.41 kB / 386.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.0113, allocations: 208.7 kB / 386.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.01132, allocations: 25.7 kB / 386.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.01143, allocations: 271.1 kB / 387 MB, free: 9.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.01149, allocations: 79.33 kB / 387 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.01155, allocations: 55.34 kB / 387.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.01171, allocations: 0.5001 MB / 387.6 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.01178, allocations: 27.97 kB / 387.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.01186, allocations: 38.73 kB / 387.7 MB, free: 9.277 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.01203, allocations: 91.59 kB / 387.7 MB, free: 9.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01203, allocations: 0 / 387.7 MB, free: 9.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000244/0.01227, allocations: 164.3 kB / 387.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.01229, allocations: 4 kB / 387.9 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01229, allocations: 3.984 kB / 387.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01231, allocations: 4 kB / 387.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.01274, allocations: 159.9 kB / 388.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.01525, allocations: 8.137 MB / 396.2 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.01532, allocations: 7.953 kB / 396.2 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.01534, allocations: 19.92 kB / 396.2 MB, free: 440 kB / 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.0001134/0.01545, allocations: 168.6 kB / 396.4 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.01549, allocations: 23.84 kB / 396.4 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.01586, allocations: 258.8 kB / 396.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01586, allocations: 0 / 396.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01587, allocations: 3.938 kB / 396.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01587, allocations: 7.938 kB / 396.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.01614, allocations: 284.4 kB / 397 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.01614, allocations: 4 kB / 397 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.01649, allocations: 155.9 kB / 397.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01649, allocations: 0 / 397.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01651, allocations: 8 kB / 397.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/0.01905, allocations: 8.145 MB / 405.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01906, allocations: 0 / 405.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.01934, allocations: 322.3 kB / 405.6 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.01936, allocations: 11.91 kB / 405.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.01939, allocations: 7.938 kB / 405.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.01946, allocations: 8 kB / 405.6 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.01952, allocations: 19.95 kB / 405.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.01954, allocations: 12 kB / 405.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.923e-05/0.0196, allocations: 152.2 kB / 405.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0196, allocations: 0 / 405.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002789/0.01987, allocations: 127.5 kB / 405.9 MB, free: 6.418 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.0002182/0.02009, allocations: 143.1 kB / 406.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.02062, allocations: 247.4 kB / 406.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.02062, allocations: 0 / 406.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.02118, allocations: 210.1 kB / 406.5 MB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.02143, allocations: 31.23 kB / 406.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.02259, allocations: 0.6629 MB / 407.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.471e-05/0.02269, allocations: 131.9 kB / 407.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.782e-05/0.02279, allocations: 41.44 kB / 407.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.02283, allocations: 20.48 kB / 407.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.02284, allocations: 0 / 407.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of Templates: time 0.007122/0.02996, allocations: 5.017 MB / 412.4 MB, free: 15.98 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.594971589045599]